Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move everything over to cdn.adaptivecards.io #9080

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/Templates/Scenarios/ProductVideo.data.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"ThumbnailUrl": "https://adaptivecards.io/content/poster-video.png",
"Title": "Divers - Future of Productivity",
"ID": "6b518eae-b0d9-4951-b6da-1e5f58a43daa",
"VideoUrl": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4",
"VideoUrl": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4",
"VideoDurationInSeconds": 388,
"VideoProcessingStatus": 2,
"ViewCount": -1,
Expand Down
2 changes: 1 addition & 1 deletion samples/v1.1/Tests/ColumnSet.Media.VerticalStretch.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
],
"height": "stretch"
Expand Down
4 changes: 2 additions & 2 deletions samples/v1.1/Tests/InvalidMediaMix.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
},
{
"mimeType": "audio/mpeg",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions samples/v1.1/Tests/MediaAudioInColumnSet.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sources": [
{
"mimeType": "audio/mpeg",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp3"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp3"
}
]
}
Expand All @@ -39,7 +39,7 @@
"sources": [
{
"mimeType": "audio/mpeg",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp3"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp3"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions samples/v1.1/Tests/MediaInColumnSet.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand All @@ -39,7 +39,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion samples/v1.2/Tests/ToggleVisibility.AllElements.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
},
Expand Down
6 changes: 3 additions & 3 deletions samples/v1.5/Scenarios/Agenda.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
"items": [
{
"type": "Image",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/location_gray.png",
"url": "https://cdn.adaptivecards.io/assets/location_gray.png",
"altText": "Location"
}
],
Expand Down Expand Up @@ -331,7 +331,7 @@
"items": [
{
"type": "Image",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/car.png",
"url": "https://cdn.adaptivecards.io/assets/car.png",
"altText": "Travel by car"
}
],
Expand Down Expand Up @@ -414,7 +414,7 @@
"items": [
{
"type": "Image",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/location_gray.png",
"url": "https://cdn.adaptivecards.io/assets/location_gray.png",
"altText": "Location"
}
],
Expand Down
4 changes: 2 additions & 2 deletions samples/v1.6/Elements/Media.Sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
],
"captionSources": [
Expand Down Expand Up @@ -53,7 +53,7 @@
"sources": [
{
"mimeType": "audio/mpeg",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp3"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp3"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion samples/v1.6/Elements/Media.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
],
"captionSources": [
Expand Down
2 changes: 1 addition & 1 deletion samples/v1.6/Scenarios/ProductVideo.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
],
"captionSources": [
Expand Down
2 changes: 1 addition & 1 deletion samples/v1.6/Tests/Carousel.ForbiddenElements.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions samples/v1.6/Tests/Carousel.NestedForbiddenElements.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand Down Expand Up @@ -184,7 +184,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ public void TestGetResourceInformationAPI() throws Exception
"\"url\": \"https://picsum.photos/id/237/200/200\", \"verticalAlignment\": \"center\"," +
"\"horizontalAlignment\": \"center\"},\"body\": [{\"type\": \"Media\"," +
"\"poster\": \"https://adaptivecards.io/content/poster-video.png\",\"sources\": [{" +
"\"mimeType\": \"video/mp4\",\"url\": \"https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4\"" +
"\"mimeType\": \"video/mp4\",\"url\": \"https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4\"" +
"}]},{\"type\": \"Media\",\"poster\": \"https://adaptivecards.io/content/poster-audio.jpg\"," +
"\"sources\": [{\"mimeType\": \"audio/mpeg\",\"url\": \"https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp3\"" +
"\"sources\": [{\"mimeType\": \"audio/mpeg\",\"url\": \"https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp3\"" +
"}]},{\"type\": \"ImageSet\",\"imageSize\": \"medium\",\"images\": [{\"type\": \"Image\"," +
"\"url\": \"https://picsum.photos/200/200?image=100\"},{\"type\": \"Image\"," +
"\"url\": \"https://picsum.photos/300/200?image=200\"},{\"type\": \"Image\"," +
Expand All @@ -63,9 +63,9 @@ public void TestGetResourceInformationAPI() throws Exception
String[] expectedUrls = {
"https://picsum.photos/id/237/200/200",
"https://adaptivecards.io/content/poster-video.png",
"https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4",
"https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4",
"https://adaptivecards.io/content/poster-audio.jpg",
"https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp3",
"https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp3",
"https://picsum.photos/200/200?image=100",
"https://picsum.photos/300/200?image=200",
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzO",
Expand Down
6 changes: 3 additions & 3 deletions source/dotnet/Test/AdaptiveCards.Test/SerializationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ public void Media()
""sources"": [
{
""mimeType"": ""video/mp4"",
""url"": ""http://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4""
""url"": ""https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4""
}
]
},
Expand All @@ -848,7 +848,7 @@ public void Media()
""sources"": [
{
""mimeType"": ""video/mp4"",
""url"": ""http://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4""
""url"": ""https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4""
}
]
}
Expand All @@ -868,7 +868,7 @@ public void Media()

var source = mediaElementFull.Sources[0] as AdaptiveMediaSource;
Assert.AreEqual("video/mp4", source.MimeType);
Assert.AreEqual("http://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4", source.Url);
Assert.AreEqual("https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4", source.Url);
}

[TestMethod]
Expand Down
2 changes: 1 addition & 1 deletion source/nodejs/adaptivecards-site/BLOGGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ Otherwise you can use a payload that is accessible via HTTP. Make sure CORS is s
If it fails to render, check the browser debug tools under the Network tab.

```
{% adaptivecard https://adaptivecardsblob.blob.core.windows.net/releaseshelper/releasescard.json %}
{% adaptivecard https://cdn.adaptivecards.io/releaseshelper/releasescard.json %}
```
8 changes: 4 additions & 4 deletions source/nodejs/adaptivecards-site/pages/_data/home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,27 @@ en:
title: Meet your users where they are
subtitle: Modern digital life is hectic. Users are constantly switching between devices, apps, and services to get their job done. Adaptive Cards help you increase engagement and efficiency by injecting your actionable content directly into the apps they use every day.
learnmore_title: Integrate into existing apps
video: https://adaptivecardsblob.blob.core.windows.net/assets/Video-MeetYourUsersWhereTheyAre.mp4
video: https://cdn.adaptivecards.io/assets/Video-MeetYourUsersWhereTheyAre.mp4
videoLoopDelay: 5000
learnMoreLink: https://docs.microsoft.com/adaptive-cards/resources/partners
extensibility_section:
title: Open your apps to extensibility
subtitle: There's an ecosystem of developers out there who want to integrate with your apps, but how can you do so safely and without their content sticking out like a sore thumb? Adaptive Cards are always native and blend seamlessly into the surrounding UI - and they work on every major platform!
video: https://adaptivecardsblob.blob.core.windows.net/assets/Video-RenderingCards.mp4
video: https://cdn.adaptivecards.io/assets/Video-RenderingCards.mp4
videoLoopDelay: 2000
learnmore_title: Install the Rendering SDKs
learnMoreLink: https://docs.microsoft.com/en-us/adaptive-cards/rendering-cards/getting-started
design_section:
title: Design cards anywhere
subtitle: You don't have to send your users to this website to design cards. Just like Adaptive Cards blend into their surroundings, so does the Adaptive Card Designer. The SDK includes a full configuration API allowing you to deeply integrate card workflows into your existing toolchain.
video: https://adaptivecardsblob.blob.core.windows.net/assets/Video-Designer.mp4?refresh=2019-09-10
video: https://cdn.adaptivecards.io/assets/Video-Designer.mp4?refresh=2019-09-10
videoLoopDelay: 5000
learnmore_title: Install the Designer SDK
learnMoreLink: https://docs.microsoft.com/adaptive-cards/sdk/designer
template_section:
title: Create, share, and discover reusable templates
subtitle: What if you could instantly display any type of data? It could be your own app's data, your organization's data, or data from the web. With Adaptive Card Templating you can separate the data from card layout, and when coupled with a new template service a whole new ecosystem of card exchange becomes possible.
video: https://adaptivecardsblob.blob.core.windows.net/assets/Video-RenderingCards.mp4
video: https://cdn.adaptivecards.io/assets/Video-RenderingCards.mp4
learnmore_title: Create reusable card templates
learnMoreLink: https://docs.microsoft.com/en-us/adaptive-cards/templating
tag: Updated May 2020
Expand Down
2 changes: 1 addition & 1 deletion source/nodejs/adaptivecards-site/pages/roadmap/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the tentative list of 1.2 features. These items are not guaranteed to s

Tentative release date: **Q1 2019**

{% adaptivecard https://adaptivecardsblob.blob.core.windows.net/releaseshelper/releasescard.json %}
{% adaptivecard https://cdn.adaptivecards.io/releaseshelper/releasescard.json %}

### Adaptive Cards 2.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div id="videoModal" class="w3-modal w3-card-4">
<div class="w3-modal-content w3-animate-zoom">
<video id="overviewVideo" tabIndex="0" controls="" width="100" style="width: 100%" poster="<%- url_for('content/poster-video.png') %>">
<source src="https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
<source src="https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
type="video/mp4" />
</video>
<span id="closeVideo" tabIndex="0" aria-label="Close video" class="w3-button w3-xlarge w3-transparent w3-display-topright"
Expand Down Expand Up @@ -34,7 +34,7 @@
<div class="w3-card" style="background-color: #0072CC">
<video id="vid" playsinline autoplay muted style="width: 100%; margin-bottom: -8px"
data-loop-delay="5000"
src="https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveIntroVideo.mp4"></video>
src="https://cdn.adaptivecards.io/assets/AdaptiveIntroVideo.mp4"></video>
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
],
"height": "stretch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
},
{
"mimeType": "audio/mpeg",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sources": [
{
"mimeType": "audio/mpeg",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp3"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp3"
}
]
}
Expand All @@ -39,7 +39,7 @@
"sources": [
{
"mimeType": "audio/mpeg",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp3"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp3"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand All @@ -39,7 +39,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"sources": [
{
"mimeType": "video/mp4",
"url": "https://adaptivecardsblob.blob.core.windows.net/assets/AdaptiveCardsOverviewVideo.mp4"
"url": "https://cdn.adaptivecards.io/assets/AdaptiveCardsOverviewVideo.mp4"
}
]
},
Expand Down
Loading
Loading