diff --git a/example/package.json b/example/package.json index aa7a3d1..9c6a66b 100644 --- a/example/package.json +++ b/example/package.json @@ -8,6 +8,7 @@ "start": "webpack-dev-server --open --hot", "test": "echo \"No test specified\" && exit 0", "build": "webpack --mode production", + "postbuild": "cp RW20seconds_2.mp4 dist/RW20seconds_2.mp4", "build:dev": "webpack --mode development", "watch": "webpack --watch" }, diff --git a/example/src/App.js b/example/src/App.js index 5af6473..8135e97 100644 --- a/example/src/App.js +++ b/example/src/App.js @@ -224,8 +224,11 @@ const stories2 = [ duration: 5000 }, { - url: 'https://i.imgur.com/uXjLgCl.gifv', - type: 'video' + url: 'https://intive.github.io/react-stories/RW20seconds_2.mp4', + type: 'video', + header: { + heading: 'credits http://www.exit109.com/~dnn/' + } }, { url: 'https://picsum.photos/1080/1920',