Skip to content

Commit

Permalink
WRR-10797: Replaced unsafe URLs (#1761)
Browse files Browse the repository at this point in the history
* replaced unsafe URLs

* replaced unsafe URLs

* revert unwanted change

* code review fixes
  • Loading branch information
daniel-stoian-lgp authored Dec 17, 2024
1 parent 248ca04 commit ec5e856
Show file tree
Hide file tree
Showing 22 changed files with 58 additions and 58 deletions.
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Checklist

* [ ] I have read and understand the [contribution guide](http://enactjs.com/docs/developer-guide/contributing/)
* [ ] A [CHANGELOG entry](http://enactjs.com/docs/developer-guide/contributing/changelogs/) is included
* [ ] I have read and understand the [contribution guide](https://enactjs.com/docs/developer-guide/contributing/)
* [ ] A [CHANGELOG entry](https://enactjs.com/docs/developer-guide/contributing/changelogs/) is included
* [ ] At least one test case is included for this feature or bug fix
* [ ] Documentation was added or is not needed
* [ ] This is an API breaking change
Expand Down
2 changes: 1 addition & 1 deletion IconItem/IconItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const IconItemBase = kind({
* The background color, gradient, or image of this item.
* Accepts any format of color, gradient type value, and image url.
*
* Example: '#ff0000', 'radial-gradient(crimson, skyblue)', 'url(http://example.com/image.png) center / cover'
* Example: '#ff0000', 'radial-gradient(crimson, skyblue)', 'url(https://example.com/image.png) center / cover'
*
* @type {String}
* @public
Expand Down
2 changes: 1 addition & 1 deletion MediaOverlay/MediaOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* @example
* <MediaOverlay text="overlay">
* <source src="http://media.w3.org/2010/05/sintel/trailer.mp4" />
* <source src="https://media.w3.org/2010/05/sintel/trailer.mp4" />
* </MediaOverlay>
*
* @module sandstone/MediaOverlay
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ Copyright (c) 2012-2024 LG Electronics

Unless otherwise specified or set forth in the NOTICE file, all content, including all source code files and documentation files in this repository are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
4 changes: 2 additions & 2 deletions VideoPlayer/VideoPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2220,8 +2220,8 @@ const VideoPlayerBase = class extends Component {
*
* Example usage:
* ```
* <VideoPlayer title="Hilarious Cat Video" poster="http://my.cat.videos/boots-poster.jpg">
* <source src="http://my.cat.videos/boots.mp4" type="video/mp4" />
* <VideoPlayer title="Hilarious Cat Video" poster="https://my.cat.videos/boots-poster.jpg">
* <source src="https://my.cat.videos/boots.mp4" type="video/mp4" />
* <infoComponents>A video about my cat Boots, wearing boots.</infoComponents>
* <MediaControls>
* <leftComponents><Button backgroundOpacity="translucent" icon="star" /></leftComponents>
Expand Down
2 changes: 1 addition & 1 deletion samples/qa-a11y/src/views/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const InputView = () => (
<Input alt="Password Type With Placeholder" placeholder="Placeholder" subtitle="Subtitle" title="Title" type="password" />
<Input alt="Disabled Password Type With Value" disabled subtitle="Subtitle" title="Title" type="password" value="1234" />
<Input alt="Url Type With Placeholder" placeholder="Placeholder" subtitle="Subtitle" title="Title" type="url" />
<Input alt="Disabled Url Type With Value" disabled subtitle="Subtitle" title="Title" type="url" value="http://enactjs.com" />
<Input alt="Disabled Url Type With Value" disabled subtitle="Subtitle" title="Title" type="url" value="https://enactjs.com" />
</Section>

<Section className={appCss.marginTop} title="With iconAfter">
Expand Down
4 changes: 2 additions & 2 deletions samples/qa-a11y/src/views/VideoPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const renderItem = ({index, ...rest}) => {

const VideoPlayerView = () => (
<div style={{width: ri.scaleToRem(1280), height: ri.scaleToRem(800)}}>
<VideoPlayer poster="http://media.xiph.org/cosmoslaundromat/Cosmos_Laundromat_1-2k-png/07580.png" title="Cosmos Laundromat">
<source src="http://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4" type="video/mp4" />
<VideoPlayer poster="https://media.xiph.org/cosmoslaundromat/Cosmos_Laundromat_1-2k-png/07580.png" title="Cosmos Laundromat">
<source src="https://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4" type="video/mp4" />
<infoComponents>DTV REC 08:22 THX 16:9</infoComponents>
<MediaControls actionGuideButtonAriaLabel="More">
<bottomComponents>
Expand Down
2 changes: 1 addition & 1 deletion samples/qa-videoplayer/src/views/MainPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const SelectableVideoPlayer = (props) => {
<MediaControls>
<Button onClick={handleToggleSelection} selected={selecting}>{selecting ? 'Play Loop' : 'Set End Time'}</Button>
</MediaControls>
<source src="http://media.w3.org/2010/05/video/movie_300.mp4" />
<source src="https://media.w3.org/2010/05/video/movie_300.mp4" />
</VideoPlayer>
);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {VideoPlayer} from '@enact/sandstone/VideoPlayer';

const src = 'http://media.w3.org/2010/05/sintel/trailer.mp4';
const src = 'https://media.w3.org/2010/05/sintel/trailer.mp4';

const UseCaseVideoPlayer = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion samples/sampler/.qa-storybook/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ addons.setConfig({
theme: create({
base: 'dark',
brandTitle: 'SANDSTONE QA SAMPLER',
brandUrl: 'http://enactjs.com/',
brandUrl: 'https://enactjs.com/',
brandImage: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MDAiIGhlaWdodD0iNzAwIiB2aWV3Qm94PSIwIDAgNzAwIDcwMCI+PGRlZnM+PHN0eWxlPi5hLC5ie2ZpbGw6I2ZmZjt9LmJ7b3BhY2l0eTowLjg7fTwvc3R5bGU+PC9kZWZzPjxwb2x5Z29uIGNsYXNzPSJhIiBwb2ludHM9IjM0OS45IDUyNy44IDE5OS45IDQyOS44IDE5OS45IDM3NC40IDM1MC4xIDQ3Mi43IDM0OS45IDM0OC41IDE5OS45IDI2MS4xIDE5OS45IDIwOS4zIDM1MCAyOTMuNiAzNTAgMjkzLjYgMzUwLjIgMjkzLjcgMzQ5LjkgMTY5LjMgMTAyLjcgNDguNSAxMDIuNyA0NzIuNiAzNTAuMSA2NTEuNiAzNDkuOSA1MjcuOCIvPjxwb2x5Z29uIGNsYXNzPSJiIiBwb2ludHM9IjM1MC4xIDY1MS42IDU5Ny4zIDQ3Mi44IDU5Ny4zIDM2Ni4zIDM0OS45IDUyNy44IDM1MC4xIDY1MS42Ii8+PHBvbHlnb24gY2xhc3M9ImIiIHBvaW50cz0iMzUwLjEgNDcyLjcgNTIzLjUgMzU5LjMgNTIzLjUgMjQ3LjQgMzQ5LjkgMzQ4LjUgMzUwLjEgNDcyLjciLz48cG9seWdvbiBjbGFzcz0iYiIgcG9pbnRzPSIzNTAgMjkzLjYgMzUwIDI5My42IDM1MC4yIDI5My43IDU5Ny4zIDE1NC44IDU5Ny4zIDQ4LjQgMzQ5LjkgMTY5LjMgMzUwIDI5My42Ii8+PC9zdmc+'
}),
bottomPanelHeight: ri.scale(400),
Expand Down
16 changes: 8 additions & 8 deletions samples/sampler/.qa-storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ const locales = {

const backgrounds = {
'Default (Based on Skin)': 'default',
'Strawberries (Red)': '#bb3352 url("http://picsum.photos/1280/720?image=1080") no-repeat center/cover',
'Tunnel (Green)': '#4e6a40 url("http://picsum.photos/1280/720?image=1063") no-repeat center/cover',
'Mountains (Blue)': '#5985a8 url("http://picsum.photos/1280/720?image=930") no-repeat center/cover',
'Misty River': '#71736d url("http://picsum.photos/1280/720?image=1044") no-repeat center/cover',
'Turbulant Tides': '#547460 url("http://picsum.photos/1280/720?image=1053") no-repeat center/cover',
'Space Station': '#7c4590 url("http://picsum.photos/1280/720?image=967") no-repeat center/cover',
'Warm Pup': '#5d6542 url("http://picsum.photos/1280/720?image=1025") no-repeat center/cover',
'Random': '#555 url("http://picsum.photos/1280/720") no-repeat center/cover'
'Strawberries (Red)': '#bb3352 url("https://picsum.photos/1280/720?image=1080") no-repeat center/cover',
'Tunnel (Green)': '#4e6a40 url("https://picsum.photos/1280/720?image=1063") no-repeat center/cover',
'Mountains (Blue)': '#5985a8 url("https://picsum.photos/1280/720?image=930") no-repeat center/cover',
'Misty River': '#71736d url("https://picsum.photos/1280/720?image=1044") no-repeat center/cover',
'Turbulant Tides': '#547460 url("https://picsum.photos/1280/720?image=1053") no-repeat center/cover',
'Space Station': '#7c4590 url("https://picsum.photos/1280/720?image=967") no-repeat center/cover',
'Warm Pup': '#5d6542 url("https://picsum.photos/1280/720?image=1025") no-repeat center/cover',
'Random': '#555 url("https://picsum.photos/1280/720") no-repeat center/cover'
};

const skins = {
Expand Down
2 changes: 1 addition & 1 deletion samples/sampler/.storybook/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ addons.setConfig({
theme: create({
base: 'dark',
brandTitle: 'SANDSTONE SAMPLER',
brandUrl: 'http://enactjs.com/',
brandUrl: 'https://enactjs.com/',
brandImage: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MDAiIGhlaWdodD0iNzAwIiB2aWV3Qm94PSIwIDAgNzAwIDcwMCI+PGRlZnM+PHN0eWxlPi5hLC5ie2ZpbGw6I2ZmZjt9LmJ7b3BhY2l0eTowLjg7fTwvc3R5bGU+PC9kZWZzPjxwb2x5Z29uIGNsYXNzPSJhIiBwb2ludHM9IjM0OS45IDUyNy44IDE5OS45IDQyOS44IDE5OS45IDM3NC40IDM1MC4xIDQ3Mi43IDM0OS45IDM0OC41IDE5OS45IDI2MS4xIDE5OS45IDIwOS4zIDM1MCAyOTMuNiAzNTAgMjkzLjYgMzUwLjIgMjkzLjcgMzQ5LjkgMTY5LjMgMTAyLjcgNDguNSAxMDIuNyA0NzIuNiAzNTAuMSA2NTEuNiAzNDkuOSA1MjcuOCIvPjxwb2x5Z29uIGNsYXNzPSJiIiBwb2ludHM9IjM1MC4xIDY1MS42IDU5Ny4zIDQ3Mi44IDU5Ny4zIDM2Ni4zIDM0OS45IDUyNy44IDM1MC4xIDY1MS42Ii8+PHBvbHlnb24gY2xhc3M9ImIiIHBvaW50cz0iMzUwLjEgNDcyLjcgNTIzLjUgMzU5LjMgNTIzLjUgMjQ3LjQgMzQ5LjkgMzQ4LjUgMzUwLjEgNDcyLjciLz48cG9seWdvbiBjbGFzcz0iYiIgcG9pbnRzPSIzNTAgMjkzLjYgMzUwIDI5My42IDM1MC4yIDI5My43IDU5Ny4zIDE1NC44IDU5Ny4zIDQ4LjQgMzQ5LjkgMTY5LjMgMzUwIDI5My42Ii8+PC9zdmc+'
}),
bottomPanelHeight: ri.scale(400),
Expand Down
16 changes: 8 additions & 8 deletions samples/sampler/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ const locales = {

const backgrounds = {
'Default (Based on Skin)': 'default',
'Strawberries (Red)': '#bb3352 url("http://picsum.photos/1280/720?image=1080") no-repeat center/cover',
'Tunnel (Green)': '#4e6a40 url("http://picsum.photos/1280/720?image=1063") no-repeat center/cover',
'Mountains (Blue)': '#5985a8 url("http://picsum.photos/1280/720?image=930") no-repeat center/cover',
'Misty River': '#71736d url("http://picsum.photos/1280/720?image=1044") no-repeat center/cover',
'Turbulant Tides': '#547460 url("http://picsum.photos/1280/720?image=1053") no-repeat center/cover',
'Space Station': '#7c4590 url("http://picsum.photos/1280/720?image=967") no-repeat center/cover',
'Warm Pup': '#5d6542 url("http://picsum.photos/1280/720?image=1025") no-repeat center/cover',
'Random': '#555 url("http://picsum.photos/1280/720") no-repeat center/cover'
'Strawberries (Red)': '#bb3352 url("https://picsum.photos/1280/720?image=1080") no-repeat center/cover',
'Tunnel (Green)': '#4e6a40 url("https://picsum.photos/1280/720?image=1063") no-repeat center/cover',
'Mountains (Blue)': '#5985a8 url("https://picsum.photos/1280/720?image=930") no-repeat center/cover',
'Misty River': '#71736d url("https://picsum.photos/1280/720?image=1044") no-repeat center/cover',
'Turbulant Tides': '#547460 url("https://picsum.photos/1280/720?image=1053") no-repeat center/cover',
'Space Station': '#7c4590 url("https://picsum.photos/1280/720?image=967") no-repeat center/cover',
'Warm Pup': '#5d6542 url("https://picsum.photos/1280/720?image=1025") no-repeat center/cover',
'Random': '#555 url("https://picsum.photos/1280/720") no-repeat center/cover'
};

const skins = {
Expand Down
2 changes: 1 addition & 1 deletion samples/sampler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ Copyright (c) 2016-2024 LG Electronics

Unless otherwise specified or set forth in the NOTICE file, all content, including all source code files and documentation files in this repository are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
6 changes: 3 additions & 3 deletions samples/sampler/stories/default/MediaOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const prop = {
marqueeOn: ['focus', 'hover', 'render'],
textAlign: ['start', 'center', 'end'],
videos: {
Sintel: 'http://media.w3.org/2010/05/sintel/trailer.mp4',
'Cosmos Laundromat': 'http://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4',
VideoTest: 'http://media.w3.org/2010/05/video/movie_300.mp4',
Sintel: 'https://media.w3.org/2010/05/sintel/trailer.mp4',
'Cosmos Laundromat': 'https://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4',
VideoTest: 'https://media.w3.org/2010/05/video/movie_300.mp4',
// Purposefully not a video to demonstrate source error state
'Bad Video Source': 'https://github.com/mderrick/react-html5video'
},
Expand Down
14 changes: 7 additions & 7 deletions samples/sampler/stories/default/VideoPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ const prop = {
moreButtonColor: ['', 'red', 'green', 'yellow', 'blue'],
videoTitles: ['Sintel', 'Cosmos Laundromat', 'VideoTest', 'Bad Video Source'],
videos: {
Sintel: 'http://media.w3.org/2010/05/sintel/trailer.mp4',
'Cosmos Laundromat': 'http://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4',
VideoTest: 'http://media.w3.org/2010/05/video/movie_300.mp4',
Sintel: 'https://media.w3.org/2010/05/sintel/trailer.mp4',
'Cosmos Laundromat': 'https://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4',
VideoTest: 'https://media.w3.org/2010/05/video/movie_300.mp4',
// Purposefully not a video to demonstrate source error state
'Bad Video Source': 'https://github.com/mderrick/react-html5video'
},
posters: {
Sintel: 'http://media.w3.org/2010/05/sintel/poster.png',
'Cosmos Laundromat': 'http://media.xiph.org/cosmoslaundromat/Cosmos_Laundromat_1-2k-png/07580.png',
VideoTest: 'http://media.w3.org/2010/05/video/poster.png',
'Bad Video Source': 'http://media.w3.org/2010/05/video/poster.png'
Sintel: 'https://media.w3.org/2010/05/sintel/poster.png',
'Cosmos Laundromat': 'https://media.xiph.org/cosmoslaundromat/Cosmos_Laundromat_1-2k-png/07580.png',
VideoTest: 'https://media.w3.org/2010/05/video/poster.png',
'Bad Video Source': 'https://media.w3.org/2010/05/video/poster.png'
},
events: [
'onAbort',
Expand Down
12 changes: 6 additions & 6 deletions samples/sampler/stories/qa/VideoPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class VideoSourceSwap extends Component {
this.state = {
videoTitles: ['Cosmos Laundromat', 'Sintel', 'VideoTest'],
playlist: [
'http://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4',
'http://media.w3.org/2010/05/sintel/trailer.mp4',
'http://media.w3.org/2010/05/video/movie_300.mp4'
'https://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4',
'https://media.w3.org/2010/05/sintel/trailer.mp4',
'https://media.w3.org/2010/05/video/movie_300.mp4'
],
cursor: 0,
preloadCursor: 1
Expand Down Expand Up @@ -155,7 +155,7 @@ class VideoPlayerWithfastForwardMode extends Component {
title={'Cosmos Laundromat'}
>
<Video>
<source src={'http://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4'} />
<source src={'https://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4'} />
</Video>
<MediaControls>
<Button
Expand Down Expand Up @@ -196,7 +196,7 @@ class VideoPlayerWithLayer extends Component {
title={'Cosmos Laundromat'}
>
<Video>
<source src={'http://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4'} />
<source src={'https://media.xiph.org/cosmoslaundromat/Pilot_Trailer_Cosmos_Laundromat.mp4'} />
</Video>
</VideoPlayer>
<div style={{left: 0, top: 0, bottom: 0, width: 500, backgroundColor: "green", position: "absolute"}}>{"screen saver"}</div>
Expand Down Expand Up @@ -238,7 +238,7 @@ class VideoPlayerWithExpandedMediaControls extends Component {
title="Sintel"
>
<Video>
<source src="http://media.w3.org/2010/05/sintel/trailer.mp4" />
<source src="https://media.w3.org/2010/05/sintel/trailer.mp4" />
</Video>
</VideoPlayer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/screenshot/apps/components/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const BaseTests = [
<Input open title="Input Test" subtitle="Additional text" value="value" type="password" />,
<Input open title="Input Test" subtitle="Additional text" value="1234" type="number" />,
<Input open title="Input Test" subtitle="Additional text" value="1234" type="passwordnumber" />,
<Input open title="Input Test" subtitle="Additional text" value="http://enactjs.com" type="url" />,
<Input open title="Input Test" subtitle="Additional text" value="https://enactjs.com" type="url" />,
<Input open title="Input Test" subtitle="Additional text" value="1234" type="number" length={10} />
];

Expand Down
12 changes: 6 additions & 6 deletions tests/screenshot/apps/components/InputField.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const InputFieldTests = [
<InputField value="1234567890" type="number" disabled />,
<InputField value="Simple value" type="password" />,
<InputField value="Simple value" type="password" disabled />,
<InputField value="http://enactjs.com" type="url" />,
<InputField value="http://enactjs.com" type="url" disabled />,
<InputField value="https://enactjs.com" type="url" />,
<InputField value="https://enactjs.com" type="url" disabled />,

// Long Text: Ellipses display with Letters, Numbers, Special Characters - [QWTC-2165]
<InputField value={LoremString} />,
Expand Down Expand Up @@ -77,8 +77,8 @@ const InputFieldTests = [

<InputField value="Focused Simple value" type="password" />,
<InputField value="Focused Simple value" type="password" disabled />,
<InputField value="http://enactjs.org" type="url" />,
<InputField value="http://enactjs.org" type="url" disabled />
<InputField value="https://enactjs.com" type="url" />,
<InputField value="https://enactjs.com" type="url" disabled />
]),

// *************************************************************
Expand Down Expand Up @@ -140,11 +140,11 @@ const InputFieldTests = [
},
{
locale: 'ar-SA',
component: <InputField value="http://enactjs.com" type="url" />
component: <InputField value="https://enactjs.com" type="url" />
},
{
locale: 'ar-SA',
component: <InputField value="http://enactjs.com" type="url" disabled />
component: <InputField value="https://enactjs.com" type="url" disabled />
},

// Long Text: Ellipses display with Letters, Numbers, Special Characters - [QWTC-2165]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/apps/MediaOverlay/MediaOverlay-View.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import spotlight from '@enact/spotlight';
spotlight.setPointerMode(false);

const videos = {
Sintel: 'http://media.w3.org/2010/05/sintel/trailer.mp4'
Sintel: 'https://media.w3.org/2010/05/sintel/trailer.mp4'
};

const app = (props) => <div {...props}>
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/apps/VideoPlayer/VideoPlayerVariables.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const posterUrl = 'http://media.w3.org/2010/05/sintel/poster.png';
const videoUrl = 'http://media.w3.org/2010/05/sintel/trailer.mp4';
const posterUrl = 'https://media.w3.org/2010/05/sintel/poster.png';
const videoUrl = 'https://media.w3.org/2010/05/sintel/trailer.mp4';
const videoTitle = 'Sandstone VideoPlayer Sample Video';

export {posterUrl, videoUrl, videoTitle};
2 changes: 1 addition & 1 deletion tests/ui/specs/VideoPlayer/VideoPlayer-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ describe('VideoPlayer', function () {
it('should display poster', async function () {
await Page.delay(1000);

expect(await videoPlayerDisabled.video.getAttribute('poster')).toBe('http://media.w3.org/2010/05/sintel/poster.png');
expect(await videoPlayerDisabled.video.getAttribute('poster')).toBe('https://media.w3.org/2010/05/sintel/poster.png');
});

describe('5-way', function () {
Expand Down

0 comments on commit ec5e856

Please sign in to comment.