import{f as m,a as u}from"./props-b4vEeO_8.js";import{B as T,C as D,k as t,D as s,F as i,G as x}from"./runtime-C3rQLW--.js";import{i as A}from"./lifecycle-F2p_Qkk3.js";import{c as R,d as b}from"./create-runtime-stories-7AWWVphH.js";import{V as f}from"./Video-yHzv19g_.js";const n=""+new URL("silent-video-BNhXlshx.mp4",import.meta.url).href,w=""+new URL("sound-video-CuYbTc3V.mp4",import.meta.url).href,v={title:"Components/Multimedia/Video",component:f},{Story:o}=b();var $=m(''),O=m(" ",1);function y(_,g){T(g,!1),A();var a=O(),d=D(a);{let e=s(()=>({ariaDescription:"Required description of your video for screen readers.",src:n,width:"wide",notes:"Optional caption for your video."}));o(d,{name:"Demo",get args(){return t(e)},parameters:{__svelteCsf:{rawCode:""}}})}var l=i(d,2);{let e=s(()=>({ariaDescription:"Required description of your video for screen readers.",src:n,loopVideo:!0,notes:"World's longest glass bridge opens to public in Vietnam. (c) 2022 Thomson Reuters",playVideoThreshold:.9}));o(l,{name:"Autoplay controls",exportName:"Autoplay",get args(){return t(e)},parameters:{__svelteCsf:{rawCode:""}}})}var p=i(l,2);{let e=s(()=>({ariaDescription:"Required description of your video for screen readers.",src:w,notes:"World's longest glass bridge opens to public in Vietnam. (c) 2022 Thomson Reuters",controlsColour:"#152a1c",controlsOpacityMax:1,controlsOpacityMin:.5,playVideoThreshold:.9,muteVideo:!1,soundAutoplay:!0}));o(p,{name:"Audio controls",exportName:"Audio",get args(){return t(e)},parameters:{__svelteCsf:{rawCode:""}}})}var c=i(p,2);{let e=s(()=>({ariaDescription:"Required description of your video for screen readers.",src:n,width:"normal",notes:"World's longest glass bridge opens to public in Vietnam. (c) 2022 Thomson Reuters",playVideoThreshold:.9,controlsColour:"white",controlsOpacityMax:1,controlsOpacityMin:.5,controlsPosition:"bottom right",separateReplayIcon:!0,loopVideo:!1,soundAutoplay:!0}));o(c,{name:"Controls",get args(){return t(e)},parameters:{__svelteCsf:{rawCode:""}}})}var V=i(c,2);o(V,{name:"Text elements",exportName:"Text",children:(e,j)=>{f(e,{get src(){return n},ariaDescription:"Required description of your video for screen readers.",title:"Title for your video",description:"Description for your video",notes:h=>{var C=$();u(h,C)},$$slots:{notes:!0}})},$$slots:{default:!0},parameters:{__svelteCsf:{rawCode:``}}}),u(_,a),x()}y.__docgen={version:3,name:"Video.stories.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const r=R(y,v),S=["Demo","Autoplay","Audio","Controls","Text"],q=r.Demo,M=r.Autoplay,N=r.Audio,P=r.Controls,W=r.Text,F=Object.freeze(Object.defineProperty({__proto__:null,Audio:N,Autoplay:M,Controls:P,Demo:q,Text:W,__namedExportsOrder:S,default:v},Symbol.toStringTag,{value:"Module"}));export{M as A,q as D,W as T,F as V,N as a};