You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
476 B

  1. import {createVideo} from "./VideoComponent";
  2. export default {
  3. title: 'Components/Video',
  4. args: {
  5. videoSrc: 'https://cdn.jsdelivr.net/npm/big-buck-bunny-1080p@0.0.6/video.mp4',
  6. posterSrc: './dummy/placeholder-3-2.svg',
  7. caption: 'Lorem ipsum dolor sit amet consetetur',
  8. copyright: '© Marco Mustermann für Mustervideos',
  9. }
  10. }
  11. const Template = ({...args}) => {
  12. return createVideo({...args});
  13. };
  14. export const Video = Template.bind({});
  15. Video.args = {};