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

Bunny video source changed to https #2515

Closed
wants to merge 4 commits into from
Closed
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 docs/useFullscreen.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Demo = () => {
<div ref={ref} style={{backgroundColor: 'white'}}>
<div>{isFullscreen ? 'Fullscreen' : 'Not fullscreen'}</div>
<button onClick={() => toggle()}>Toggle</button>
<video src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" autoPlay />
<video src="https://www.w3schools.com/tags/mov_bbb.mp4" autoPlay />
</div>
);
};
Expand Down
4 changes: 2 additions & 2 deletions docs/useVideo.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {useVideo} from 'react-use';

const Demo = () => {
const [video, state, controls, ref] = useVideo(
<video src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" autoPlay />
<video src="https://www.w3schools.com/tags/mov_bbb.mp4" autoPlay />
);

return (
Expand Down Expand Up @@ -84,4 +84,4 @@ interface AudioControls {
`ref` is a React reference to HTML `<video>` element, you can access the element by
`ref.current`, note that it may be `null`.

And finally, `props` &mdash; all props that `<video>` accepts.
And finally, `props` &mdash; all props that `<video>` accepts.
2 changes: 1 addition & 1 deletion stories/useFullscreen.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Demo = () => {
<video
ref={videoRef}
style={{ width: '70%' }}
src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
src="https://www.w3schools.com/tags/mov_bbb.mp4"
autoPlay={true}
/>
{isFullScreen && controls}
Expand Down
2 changes: 1 addition & 1 deletion stories/useVideo.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ShowDocs from './util/ShowDocs';

const Demo = () => {
const [video, state, controls, ref] = useVideo(
<video src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" autoPlay={true} />
<video src="https://www.w3schools.com/tags/mov_bbb.mp4" autoPlay={true} />
);

return (
Expand Down