[{"data":1,"prerenderedAt":1258},["ShallowReactive",2],{"navigation_docs":3,"-video-player-features-extensibility":420,"-video-player-features-extensibility-surround":1253},[4,26,201,312,317,335],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide:rocket","\u002Fgetting-started","01.getting-started",[10,14],{"title":11,"path":12,"stem":13,"icon":6},"Introduction","\u002Fgetting-started\u002Fintroduction","01.getting-started\u002F01.introduction",{"title":15,"icon":16,"path":17,"stem":18,"children":19,"page":25},"AI","i-lucide:bot","\u002Fgetting-started\u002Fai","01.getting-started\u002F02.ai",[20],{"title":21,"path":22,"stem":23,"icon":24},"LLMs Integration","\u002Fgetting-started\u002Fai\u002Fllms-txt","01.getting-started\u002F02.ai\u002F01.llms-txt","i-lucide:folder-code",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Video Player","i-lucide:play-circle","\u002Fvideo-player","02.video-player",[32,50,76,117,191],{"title":5,"icon":6,"path":33,"stem":34,"children":35,"page":25},"\u002Fvideo-player\u002Fgetting-started","02.video-player\u002F01.getting-started",[36,40,45],{"title":11,"path":37,"stem":38,"icon":39},"\u002Fvideo-player\u002Fgetting-started\u002Fintroduction","02.video-player\u002F01.getting-started\u002F01.introduction","i-lucide:book-open",{"title":41,"path":42,"stem":43,"icon":44},"Installation","\u002Fvideo-player\u002Fgetting-started\u002Finstallation","02.video-player\u002F01.getting-started\u002F02.installation","i-lucide:download",{"title":46,"path":47,"stem":48,"icon":49},"Try your own","\u002Fvideo-player\u002Fgetting-started\u002Ftry-your-own","02.video-player\u002F01.getting-started\u002F03.try-your-own","i-lucide:flask-conical",{"title":51,"icon":52,"path":53,"stem":54,"children":55,"page":25},"Core Concepts","i-lucide:lightbulb","\u002Fvideo-player\u002Fcore-concepts","02.video-player\u002F02.core-concepts",[56,61,66,71],{"title":57,"path":58,"stem":59,"icon":60},"Components","\u002Fvideo-player\u002Fcore-concepts\u002Fcomponents","02.video-player\u002F02.core-concepts\u002F01.components","i-lucide:component",{"title":62,"path":63,"stem":64,"icon":65},"Platforms","\u002Fvideo-player\u002Fcore-concepts\u002Fplatforms","02.video-player\u002F02.core-concepts\u002F02.platforms","i-lucide:globe",{"title":67,"path":68,"stem":69,"icon":70},"Web components","\u002Fvideo-player\u002Fcore-concepts\u002Fweb-components","02.video-player\u002F02.core-concepts\u002F03.web-components","i-lucide:box",{"title":72,"path":73,"stem":74,"icon":75},"Autoplay & audio","\u002Fvideo-player\u002Fcore-concepts\u002Fautoplay-and-audio","02.video-player\u002F02.core-concepts\u002F04.autoplay-and-audio","i-lucide:volume-2",{"title":77,"icon":78,"defaultOpen":25,"path":79,"stem":80,"children":81},"API Reference","i-lucide:book-marked","\u002Fvideo-player\u002Fapi","02.video-player\u002F03.api\u002Findex",[82,85,90,102,107,112],{"title":83,"path":79,"stem":80,"icon":84},"Overview","i-lucide:list",{"title":86,"path":87,"stem":88,"icon":89},"Props","\u002Fvideo-player\u002Fapi\u002Fprops","02.video-player\u002F03.api\u002F01.props","i-lucide:sliders-horizontal",{"title":91,"path":92,"stem":93,"children":94,"icon":96},"Methods & state","\u002Fvideo-player\u002Fapi\u002Fmethods","02.video-player\u002F03.api\u002F02.methods\u002Findex",[95,97],{"title":91,"path":92,"stem":93,"icon":96},"i-lucide:square-function",{"title":98,"path":99,"stem":100,"icon":101},"Wrapping a player","\u002Fvideo-player\u002Fapi\u002Fmethods\u002Fwrapping","02.video-player\u002F03.api\u002F02.methods\u002F01.wrapping","i-lucide:package",{"title":103,"path":104,"stem":105,"icon":106},"Events","\u002Fvideo-player\u002Fapi\u002Fevents","02.video-player\u002F03.api\u002F03.events","i-lucide:radio-tower",{"title":108,"path":109,"stem":110,"icon":111},"Headless controls","\u002Fvideo-player\u002Fapi\u002Fcontrols","02.video-player\u002F03.api\u002F04.controls","i-lucide:toggle-left",{"title":113,"path":114,"stem":115,"icon":116},"Built-in behaviour","\u002Fvideo-player\u002Fapi\u002Fbehaviour","02.video-player\u002F03.api\u002F05.behaviour","i-lucide:settings-2",{"title":118,"icon":119,"defaultOpen":25,"path":120,"stem":121,"children":122,"page":25},"Features","i-lucide:layers","\u002Fvideo-player\u002Ffeatures","02.video-player\u002F04.features",[123,128,133,138,143,148,164,181,186],{"title":124,"path":125,"stem":126,"icon":127},"Scrolling & viewport","\u002Fvideo-player\u002Ffeatures\u002Fviewport","02.video-player\u002F04.features\u002F01.viewport","i-lucide:scroll",{"title":129,"path":130,"stem":131,"icon":132},"Stage & playlists","\u002Fvideo-player\u002Ffeatures\u002Fstage-and-playlists","02.video-player\u002F04.features\u002F02.stage-and-playlists","i-lucide:layout-template",{"title":134,"path":135,"stem":136,"icon":137},"Transcripts","\u002Fvideo-player\u002Ffeatures\u002Ftranscripts","02.video-player\u002F04.features\u002F03.transcripts","i-lucide:scroll-text",{"title":139,"path":140,"stem":141,"icon":142},"Captions","\u002Fvideo-player\u002Ffeatures\u002Fcaptions","02.video-player\u002F04.features\u002F04.captions","i-lucide:subtitles",{"title":144,"path":145,"stem":146,"icon":147},"Quality","\u002Fvideo-player\u002Ffeatures\u002Fquality","02.video-player\u002F04.features\u002F05.quality","i-lucide:gauge",{"title":149,"icon":150,"defaultOpen":25,"path":151,"stem":152,"children":153},"Ads & monetisation","i-lucide:megaphone","\u002Fvideo-player\u002Ffeatures\u002Fads","02.video-player\u002F04.features\u002F06.ads\u002Findex",[154,155,160],{"title":149,"path":151,"stem":152,"icon":150},{"title":156,"path":157,"stem":158,"icon":159},"Header bidding","\u002Fvideo-player\u002Ffeatures\u002Fads\u002Fheader-bidding","02.video-player\u002F04.features\u002F06.ads\u002F01.header-bidding","i-lucide:gavel",{"title":161,"path":162,"stem":163,"icon":116},"Ad behaviour","\u002Fvideo-player\u002Ffeatures\u002Fads\u002Fbehaviour","02.video-player\u002F04.features\u002F06.ads\u002F02.behaviour",{"title":165,"icon":166,"defaultOpen":25,"path":167,"stem":168,"children":169},"Extensibility","i-lucide:puzzle","\u002Fvideo-player\u002Ffeatures\u002Fextensibility","02.video-player\u002F04.features\u002F07.extensibility\u002Findex",[170,171,176],{"title":165,"path":167,"stem":168,"icon":166},{"title":172,"path":173,"stem":174,"icon":175},"Icons","\u002Fvideo-player\u002Ffeatures\u002Fextensibility\u002Ficons","02.video-player\u002F04.features\u002F07.extensibility\u002F01.icons","i-lucide:image",{"title":177,"path":178,"stem":179,"icon":180},"Theming","\u002Fvideo-player\u002Ffeatures\u002Fextensibility\u002Ftheming","02.video-player\u002F04.features\u002F07.extensibility\u002F02.theming","i-lucide:palette",{"title":182,"path":183,"stem":184,"icon":185},"Deep links","\u002Fvideo-player\u002Ffeatures\u002Fdeep-links","02.video-player\u002F04.features\u002F08.deep-links","i-lucide:link",{"title":187,"path":188,"stem":189,"icon":190},"Clip ranges","\u002Fvideo-player\u002Ffeatures\u002Fclip-range","02.video-player\u002F04.features\u002F09.clip-range","i-lucide:brackets",{"title":192,"icon":49,"defaultOpen":25,"path":193,"stem":194,"children":195,"page":25},"Examples","\u002Fvideo-player\u002Fexamples","02.video-player\u002F05.examples",[196],{"title":197,"path":198,"stem":199,"icon":200},"Shorts-style feed","\u002Fvideo-player\u002Fexamples\u002Fshorts-feed","02.video-player\u002F05.examples\u002F01.shorts-feed","i-lucide:smartphone",{"title":202,"icon":203,"path":204,"stem":205,"children":206,"page":25},"Sigil","i-lucide:shapes","\u002Fsigil","03.sigil",[207,217,240,270,290],{"title":5,"icon":6,"path":208,"stem":209,"children":210,"page":25},"\u002Fsigil\u002Fgetting-started","03.sigil\u002F01.getting-started",[211,214],{"title":11,"path":212,"stem":213,"icon":39},"\u002Fsigil\u002Fgetting-started\u002Fintroduction","03.sigil\u002F01.getting-started\u002F01.introduction",{"title":41,"path":215,"stem":216,"icon":44},"\u002Fsigil\u002Fgetting-started\u002Finstallation","03.sigil\u002F01.getting-started\u002F02.installation",{"title":51,"icon":52,"path":218,"stem":219,"children":220,"page":25},"\u002Fsigil\u002Fcore-concepts","03.sigil\u002F02.core-concepts",[221,226,231,235],{"title":222,"path":223,"stem":224,"icon":225},"Resolution","\u002Fsigil\u002Fcore-concepts\u002Fresolution","03.sigil\u002F02.core-concepts\u002F01.resolution","i-lucide:route",{"title":227,"path":228,"stem":229,"icon":230},"Entries","\u002Fsigil\u002Fcore-concepts\u002Fentries","03.sigil\u002F02.core-concepts\u002F02.entries","i-lucide:package-open",{"title":232,"path":233,"stem":234,"icon":70},"The element","\u002Fsigil\u002Fcore-concepts\u002Fweb-component","03.sigil\u002F02.core-concepts\u002F03.web-component",{"title":236,"path":237,"stem":238,"icon":239},"Switching sets","\u002Fsigil\u002Fcore-concepts\u002Fswitching","03.sigil\u002F02.core-concepts\u002F04.switching","i-lucide:repeat",{"title":241,"icon":242,"defaultOpen":25,"path":243,"stem":244,"children":245},"Sources","i-lucide:library","\u002Fsigil\u002Fsources","03.sigil\u002F03.sources\u002Findex",[246,247,252,256,261,266],{"title":83,"path":243,"stem":244,"icon":84},{"title":248,"path":249,"stem":250,"icon":251},"Overrides","\u002Fsigil\u002Fsources\u002Foverrides","03.sigil\u002F03.sources\u002F01.overrides","i-lucide:pin",{"title":253,"path":254,"stem":255,"icon":175},"SVG libraries","\u002Fsigil\u002Fsources\u002Fsvg","03.sigil\u002F03.sources\u002F02.svg",{"title":257,"path":258,"stem":259,"icon":260},"Icon fonts","\u002Fsigil\u002Fsources\u002Ffonts","03.sigil\u002F03.sources\u002F03.fonts","i-lucide:type",{"title":262,"path":263,"stem":264,"icon":265},"From a JSON file","\u002Fsigil\u002Fsources\u002Fjson","03.sigil\u002F03.sources\u002F04.json","i-lucide:braces",{"title":267,"path":268,"stem":269,"icon":166},"Your own source","\u002Fsigil\u002Fsources\u002Fcustom","03.sigil\u002F03.sources\u002F05.custom",{"title":271,"icon":272,"defaultOpen":25,"collapsible":273,"path":274,"stem":275,"children":276,"page":25},"Integrations","i-lucide:plug",true,"\u002Fsigil\u002Fintegrations","03.sigil\u002F04.integrations",[277,281,285],{"title":278,"path":279,"stem":280,"icon":60},"Vue","\u002Fsigil\u002Fintegrations\u002Fvue","03.sigil\u002F04.integrations\u002F01.vue",{"title":282,"path":283,"stem":284,"icon":119},"Other frameworks","\u002Fsigil\u002Fintegrations\u002Fother-frameworks","03.sigil\u002F04.integrations\u002F02.other-frameworks",{"title":286,"path":287,"stem":288,"icon":289},"Third-party scripts","\u002Fsigil\u002Fintegrations\u002Fthird-party-scripts","03.sigil\u002F04.integrations\u002F03.third-party-scripts","i-lucide:git-fork",{"title":77,"icon":78,"defaultOpen":25,"path":291,"stem":292,"children":293},"\u002Fsigil\u002Fapi","03.sigil\u002F05.api\u002Findex",[294,295,300,303,308],{"title":83,"path":291,"stem":292,"icon":84},{"title":296,"path":297,"stem":298,"icon":299},"Registry","\u002Fsigil\u002Fapi\u002Fregistry","03.sigil\u002F05.api\u002F01.registry","i-lucide:database",{"title":241,"path":301,"stem":302,"icon":242},"\u002Fsigil\u002Fapi\u002Fsources","03.sigil\u002F05.api\u002F02.sources",{"title":304,"path":305,"stem":306,"icon":307},"Renderers","\u002Fsigil\u002Fapi\u002Frenderers","03.sigil\u002F05.api\u002F03.renderers","i-lucide:monitor",{"title":309,"path":310,"stem":311,"icon":265},"Types","\u002Fsigil\u002Fapi\u002Ftypes","03.sigil\u002F05.api\u002F04.types",{"title":313,"path":314,"stem":315,"icon":316},"Contributors","\u002Fcontributors","04.contributors","i-lucide:users",{"title":318,"icon":319,"path":320,"stem":321,"children":322,"page":25},"Ship Kit","i-lucide:terminal","\u002Fshipkit","04.shipkit",[323,326,330],{"title":11,"path":324,"stem":325,"icon":101},"\u002Fshipkit\u002Fintroduction","04.shipkit\u002F01.introduction",{"title":327,"path":328,"stem":329,"icon":319},"CLI","\u002Fshipkit\u002Fcli","04.shipkit\u002F02.cli",{"title":331,"path":332,"stem":333,"icon":334},"Vite Configs","\u002Fshipkit\u002Fvite-configs","04.shipkit\u002F03.vite-configs","i-lucide:code",{"title":336,"icon":337,"path":338,"stem":339,"children":340,"page":25},"Splice","i-lucide:scissors","\u002Fsplice","05.splice",[341,352,389,406],{"title":5,"icon":6,"path":342,"stem":343,"children":344,"page":25},"\u002Fsplice\u002Fgetting-started","05.splice\u002F01.getting-started",[345,348],{"title":11,"path":346,"stem":347,"icon":39},"\u002Fsplice\u002Fgetting-started\u002Fintroduction","05.splice\u002F01.getting-started\u002F01.introduction",{"title":349,"path":350,"stem":351,"icon":44},"Getting started","\u002Fsplice\u002Fgetting-started\u002Finstallation","05.splice\u002F01.getting-started\u002F02.installation",{"title":353,"icon":354,"path":355,"stem":356,"children":357,"page":25},"Making clips","i-lucide:film","\u002Fsplice\u002Fmaking-clips","05.splice\u002F02.making-clips",[358,362,367,371,375,380,385],{"title":359,"path":360,"stem":361,"icon":337},"createSplice","\u002Fsplice\u002Fmaking-clips\u002Fcreate-splice","05.splice\u002F02.making-clips\u002F01.create-splice",{"title":363,"path":364,"stem":365,"icon":366},"Crop","\u002Fsplice\u002Fmaking-clips\u002Fcrop","05.splice\u002F02.making-clips\u002F02.crop","i-lucide:crop",{"title":139,"path":368,"stem":369,"icon":370},"\u002Fsplice\u002Fmaking-clips\u002Fcaptions","05.splice\u002F02.making-clips\u002F03.captions","i-lucide:captions",{"title":372,"path":373,"stem":374,"icon":185},"Origin and links","\u002Fsplice\u002Fmaking-clips\u002Forigin-and-links","05.splice\u002F02.making-clips\u002F04.origin-and-links",{"title":376,"path":377,"stem":378,"icon":379},"End card, stamp and watermark","\u002Fsplice\u002Fmaking-clips\u002Fend-card","05.splice\u002F02.making-clips\u002F05.end-card","i-lucide:badge-check",{"title":381,"path":382,"stem":383,"icon":384},"Thumbnails","\u002Fsplice\u002Fmaking-clips\u002Fthumbnails","05.splice\u002F02.making-clips\u002F06.thumbnails","i-lucide:gallery-horizontal",{"title":386,"path":387,"stem":388,"icon":166},"With another player","\u002Fsplice\u002Fmaking-clips\u002Fanother-player","05.splice\u002F02.making-clips\u002F07.another-player",{"title":390,"icon":391,"path":392,"stem":393,"children":394,"page":25},"The editor","i-lucide:mouse-pointer-click","\u002Fsplice\u002Feditor","05.splice\u002F03.editor",[395,398,402],{"title":390,"path":396,"stem":397,"icon":391},"\u002Fsplice\u002Feditor\u002Feditor","05.splice\u002F03.editor\u002F01.editor",{"title":399,"path":400,"stem":401,"icon":28},"Clip this in video-player","\u002Fsplice\u002Feditor\u002Fvideo-player","05.splice\u002F03.editor\u002F02.video-player",{"title":403,"path":404,"stem":405,"icon":60},"Web component","\u002Fsplice\u002Feditor\u002Fweb-component","05.splice\u002F03.editor\u002F03.web-component",{"title":407,"icon":78,"defaultOpen":25,"path":408,"stem":409,"children":410,"page":25},"Reference","\u002Fsplice\u002Freference","05.splice\u002F04.reference",[411,416],{"title":412,"path":413,"stem":414,"icon":415},"Browser support","\u002Fsplice\u002Freference\u002Fbrowser-support","05.splice\u002F04.reference\u002F01.browser-support","i-lucide:monitor-check",{"title":417,"path":418,"stem":419,"icon":334},"API","\u002Fsplice\u002Freference\u002Fapi","05.splice\u002F04.reference\u002F02.api",{"id":421,"title":165,"body":422,"description":1246,"extension":1247,"links":1248,"meta":1249,"navigation":1250,"path":167,"seo":1251,"stem":168,"__hash__":1252},"docs\u002F02.video-player\u002F04.features\u002F07.extensibility\u002Findex.md",{"type":423,"value":424,"toc":1240},"minimark",[425,430,456,927,930,941,945,951,1065,1069,1072,1177,1181,1236],[426,427,429],"h2",{"id":428},"a-fully-custom-hud","A fully custom HUD",[431,432,433,434,438,439,442,443,447,448,451,452,455],"p",{},"Set ",[435,436,437],"code",{},"controls=\"false\""," for a bare ",[435,440,441],{},"\u003Cvideo>"," with no built-in HUD, then build your own from the 13 ",[444,445,446],"a",{"href":109},"headless controls"," - each a Vue component and an ",[435,449,450],{},"ml-video-*"," custom element - and the ",[444,453,454],{"href":92},"imperative API"," for anything they don't cover:",[457,458,463],"pre",{"className":459,"code":460,"language":461,"meta":462,"style":462},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup>\nimport { ref } from 'vue'\nimport { VideoPlayer, PlayButton, MuteButton, Scrubber } from '@munsonlabs\u002Fvideo-player'\n\nconst itemRef = ref(null)\nfunction seekBy(seconds) {\n  itemRef.value?.seek((itemRef.value.currentTime ?? 0) + seconds)\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CVideoPlayer ref=\"itemRef\" src=\"...\" :controls=\"false\" \u002F>\n\n  \u003CPlayButton :player=\"itemRef\" v-slot=\"{ isPlaying }\">{{ isPlaying ? 'Pause' : 'Play' }}\u003C\u002FPlayButton>\n  \u003CMuteButton :player=\"itemRef\" v-slot=\"{ isMuted }\">{{ isMuted ? 'Unmute' : 'Mute' }}\u003C\u002FMuteButton>\n  \u003Cbutton @click=\"seekBy(-10)\">« 10s\u003C\u002Fbutton>\n  \u003Cbutton @click=\"seekBy(10)\">10s »\u003C\u002Fbutton>\n  \u003CScrubber :player=\"itemRef\" \u002F>\n\u003C\u002Ftemplate>\n","vue","",[435,464,465,485,514,551,557,581,602,653,659,669,674,684,735,740,790,836,867,896,918],{"__ignoreMap":462},[466,467,470,474,478,482],"span",{"class":468,"line":469},"line",1,[466,471,473],{"class":472},"sMK4o","\u003C",[466,475,477],{"class":476},"swJcz","script",[466,479,481],{"class":480},"spNyl"," setup",[466,483,484],{"class":472},">\n",[466,486,488,492,495,499,502,505,508,511],{"class":468,"line":487},2,[466,489,491],{"class":490},"s7zQu","import",[466,493,494],{"class":472}," {",[466,496,498],{"class":497},"sTEyZ"," ref",[466,500,501],{"class":472}," }",[466,503,504],{"class":490}," from",[466,506,507],{"class":472}," '",[466,509,461],{"class":510},"sfazB",[466,512,513],{"class":472},"'\n",[466,515,517,519,521,524,527,530,532,535,537,540,542,544,546,549],{"class":468,"line":516},3,[466,518,491],{"class":490},[466,520,494],{"class":472},[466,522,523],{"class":497}," VideoPlayer",[466,525,526],{"class":472},",",[466,528,529],{"class":497}," PlayButton",[466,531,526],{"class":472},[466,533,534],{"class":497}," MuteButton",[466,536,526],{"class":472},[466,538,539],{"class":497}," Scrubber",[466,541,501],{"class":472},[466,543,504],{"class":490},[466,545,507],{"class":472},[466,547,548],{"class":510},"@munsonlabs\u002Fvideo-player",[466,550,513],{"class":472},[466,552,554],{"class":468,"line":553},4,[466,555,556],{"emptyLinePlaceholder":273},"\n",[466,558,560,563,566,569,572,575,578],{"class":468,"line":559},5,[466,561,562],{"class":480},"const",[466,564,565],{"class":497}," itemRef ",[466,567,568],{"class":472},"=",[466,570,498],{"class":571},"s2Zo4",[466,573,574],{"class":497},"(",[466,576,577],{"class":472},"null",[466,579,580],{"class":497},")\n",[466,582,584,587,590,592,596,599],{"class":468,"line":583},6,[466,585,586],{"class":480},"function",[466,588,589],{"class":571}," seekBy",[466,591,574],{"class":472},[466,593,595],{"class":594},"sHdIc","seconds",[466,597,598],{"class":472},")",[466,600,601],{"class":472}," {\n",[466,603,605,608,611,614,617,620,623,626,628,630,632,635,638,642,645,648,651],{"class":468,"line":604},7,[466,606,607],{"class":497},"  itemRef",[466,609,610],{"class":472},".",[466,612,613],{"class":497},"value",[466,615,616],{"class":472},"?.",[466,618,619],{"class":571},"seek",[466,621,622],{"class":476},"((",[466,624,625],{"class":497},"itemRef",[466,627,610],{"class":472},[466,629,613],{"class":497},[466,631,610],{"class":472},[466,633,634],{"class":497},"currentTime",[466,636,637],{"class":472}," ??",[466,639,641],{"class":640},"sbssI"," 0",[466,643,644],{"class":476},") ",[466,646,647],{"class":472},"+",[466,649,650],{"class":497}," seconds",[466,652,580],{"class":476},[466,654,656],{"class":468,"line":655},8,[466,657,658],{"class":472},"}\n",[466,660,662,665,667],{"class":468,"line":661},9,[466,663,664],{"class":472},"\u003C\u002F",[466,666,477],{"class":476},[466,668,484],{"class":472},[466,670,672],{"class":468,"line":671},10,[466,673,556],{"emptyLinePlaceholder":273},[466,675,677,679,682],{"class":468,"line":676},11,[466,678,473],{"class":472},[466,680,681],{"class":476},"template",[466,683,484],{"class":472},[466,685,687,690,693,695,697,700,702,704,707,709,711,714,716,719,722,724,726,730,732],{"class":468,"line":686},12,[466,688,689],{"class":472},"  \u003C",[466,691,692],{"class":476},"VideoPlayer",[466,694,498],{"class":480},[466,696,568],{"class":472},[466,698,699],{"class":472},"\"",[466,701,625],{"class":510},[466,703,699],{"class":472},[466,705,706],{"class":480}," src",[466,708,568],{"class":472},[466,710,699],{"class":472},[466,712,713],{"class":510},"...",[466,715,699],{"class":472},[466,717,718],{"class":472}," :",[466,720,721],{"class":480},"controls",[466,723,568],{"class":472},[466,725,699],{"class":472},[466,727,729],{"class":728},"sfNiH","false",[466,731,699],{"class":472},[466,733,734],{"class":472}," \u002F>\n",[466,736,738],{"class":468,"line":737},13,[466,739,556],{"emptyLinePlaceholder":273},[466,741,743,745,748,750,753,755,757,759,761,764,766,768,771,774,776,778,781,784,786,788],{"class":468,"line":742},14,[466,744,689],{"class":472},[466,746,747],{"class":476},"PlayButton",[466,749,718],{"class":472},[466,751,752],{"class":480},"player",[466,754,568],{"class":472},[466,756,699],{"class":472},[466,758,625],{"class":497},[466,760,699],{"class":472},[466,762,763],{"class":480}," v-slot",[466,765,568],{"class":472},[466,767,699],{"class":472},[466,769,770],{"class":472},"{ ",[466,772,773],{"class":497},"isPlaying",[466,775,501],{"class":472},[466,777,699],{"class":472},[466,779,780],{"class":472},">",[466,782,783],{"class":497},"{{ isPlaying ? 'Pause' : 'Play' }}",[466,785,664],{"class":472},[466,787,747],{"class":476},[466,789,484],{"class":472},[466,791,793,795,798,800,802,804,806,808,810,812,814,816,818,821,823,825,827,830,832,834],{"class":468,"line":792},15,[466,794,689],{"class":472},[466,796,797],{"class":476},"MuteButton",[466,799,718],{"class":472},[466,801,752],{"class":480},[466,803,568],{"class":472},[466,805,699],{"class":472},[466,807,625],{"class":497},[466,809,699],{"class":472},[466,811,763],{"class":480},[466,813,568],{"class":472},[466,815,699],{"class":472},[466,817,770],{"class":472},[466,819,820],{"class":497},"isMuted",[466,822,501],{"class":472},[466,824,699],{"class":472},[466,826,780],{"class":472},[466,828,829],{"class":497},"{{ isMuted ? 'Unmute' : 'Mute' }}",[466,831,664],{"class":472},[466,833,797],{"class":476},[466,835,484],{"class":472},[466,837,839,841,844,847,849,851,854,856,858,861,863,865],{"class":468,"line":838},16,[466,840,689],{"class":472},[466,842,843],{"class":476},"button",[466,845,846],{"class":480}," @click",[466,848,568],{"class":472},[466,850,699],{"class":472},[466,852,853],{"class":510},"seekBy(-10)",[466,855,699],{"class":472},[466,857,780],{"class":472},[466,859,860],{"class":497},"« 10s",[466,862,664],{"class":472},[466,864,843],{"class":476},[466,866,484],{"class":472},[466,868,870,872,874,876,878,880,883,885,887,890,892,894],{"class":468,"line":869},17,[466,871,689],{"class":472},[466,873,843],{"class":476},[466,875,846],{"class":480},[466,877,568],{"class":472},[466,879,699],{"class":472},[466,881,882],{"class":510},"seekBy(10)",[466,884,699],{"class":472},[466,886,780],{"class":472},[466,888,889],{"class":497},"10s »",[466,891,664],{"class":472},[466,893,843],{"class":476},[466,895,484],{"class":472},[466,897,899,901,904,906,908,910,912,914,916],{"class":468,"line":898},18,[466,900,689],{"class":472},[466,902,903],{"class":476},"Scrubber",[466,905,718],{"class":472},[466,907,752],{"class":480},[466,909,568],{"class":472},[466,911,699],{"class":472},[466,913,625],{"class":497},[466,915,699],{"class":472},[466,917,734],{"class":472},[466,919,921,923,925],{"class":468,"line":920},19,[466,922,664],{"class":472},[466,924,681],{"class":476},[466,926,484],{"class":472},[928,929],"headless-example",{},[431,931,932,933,936,937,940],{},"Import ",[435,934,935],{},"@munsonlabs\u002Fvideo-player\u002Fstyle\u002Fcontrols"," instead of the full ",[435,938,939],{},"\u002Fstyle"," to skip CSS for a player HUD you never render.",[426,942,944],{"id":943},"custom-actions","Custom actions",[431,946,947,950],{},[435,948,949],{},"action"," adds a button to the built-in HUD - a built-in behaviour or your own:",[457,952,954],{"className":459,"code":953,"language":461,"meta":462,"style":462},"\u003CVideoCard action=\"mute\" src=\"...\" \u002F>\n\u003C!-- also 'loop', 'autoplay' (stage auto-advance) -->\n\u003CVideoCard :action=\"{ icon: '\u003Csvg ...\u002F>', label: 'Save', onClick: save }\" src=\"...\" \u002F>\n",[435,955,956,987,993],{"__ignoreMap":462},[466,957,958,960,963,966,968,970,973,975,977,979,981,983,985],{"class":468,"line":469},[466,959,473],{"class":472},[466,961,962],{"class":476},"VideoCard",[466,964,965],{"class":480}," action",[466,967,568],{"class":472},[466,969,699],{"class":472},[466,971,972],{"class":510},"mute",[466,974,699],{"class":472},[466,976,706],{"class":480},[466,978,568],{"class":472},[466,980,699],{"class":472},[466,982,713],{"class":510},[466,984,699],{"class":472},[466,986,734],{"class":472},[466,988,989],{"class":468,"line":487},[466,990,992],{"class":991},"sHwdD","\u003C!-- also 'loop', 'autoplay' (stage auto-advance) -->\n",[466,994,995,997,999,1001,1003,1005,1007,1010,1013,1016,1018,1021,1024,1026,1029,1031,1033,1036,1038,1040,1043,1045,1048,1051,1053,1055,1057,1059,1061,1063],{"class":468,"line":516},[466,996,473],{"class":472},[466,998,962],{"class":476},[466,1000,718],{"class":472},[466,1002,949],{"class":480},[466,1004,568],{"class":472},[466,1006,699],{"class":472},[466,1008,1009],{"class":472},"{",[466,1011,1012],{"class":476}," icon",[466,1014,1015],{"class":472},":",[466,1017,507],{"class":472},[466,1019,1020],{"class":510},"\u003Csvg ...\u002F>",[466,1022,1023],{"class":472},"'",[466,1025,526],{"class":472},[466,1027,1028],{"class":476}," label",[466,1030,1015],{"class":472},[466,1032,507],{"class":472},[466,1034,1035],{"class":510},"Save",[466,1037,1023],{"class":472},[466,1039,526],{"class":472},[466,1041,1042],{"class":476}," onClick",[466,1044,1015],{"class":472},[466,1046,1047],{"class":497}," save ",[466,1049,1050],{"class":472},"}",[466,1052,699],{"class":472},[466,1054,706],{"class":480},[466,1056,568],{"class":472},[466,1058,699],{"class":472},[466,1060,713],{"class":510},[466,1062,699],{"class":472},[466,1064,734],{"class":472},[426,1066,1068],{"id":1067},"composables","Composables",[431,1070,1071],{},"The logic behind the built-in controls is exported, so a custom control can reuse it rather than reimplement it:",[1073,1074,1075,1088],"table",{},[1076,1077,1078],"thead",{},[1079,1080,1081,1085],"tr",{},[1082,1083,1084],"th",{},"Composable",[1082,1086,1087],{},"Returns",[1089,1090,1091,1113,1127,1140,1153],"tbody",{},[1079,1092,1093,1099],{},[1094,1095,1096],"td",{},[435,1097,1098],{},"useScrubber(playerRef)",[1094,1100,1101,1104,1105,1108,1109,1112],{},[435,1102,1103],{},"{ scrubbing, displayPercent, previewSeconds, onInput, onChange, onTouchStart, onTouchEnd, onPointerCancel }"," - the full pause-on-drag, preview, commit-on-release dance. Bind every handler: without ",[435,1106,1107],{},"onTouchStart"," a tap after a drag is swallowed, and without ",[435,1110,1111],{},"onPointerCancel"," an interrupted drag leaves the preview stuck",[1079,1114,1115,1124],{},[1094,1116,1117,1120,1121],{},[435,1118,1119],{},"cycleCaptionTrack(player)"," \u002F ",[435,1122,1123],{},"captionTrackLabel(player)",[1094,1125,1126],{},"Step through the tracks and back to off, and the active track's label",[1079,1128,1129,1137],{},[1094,1130,1131,1120,1134],{},[435,1132,1133],{},"cycleQuality(player)",[435,1135,1136],{},"qualityLabel(player)",[1094,1138,1139],{},"Step down the ladder and back to Auto, and the selected level's label",[1079,1141,1142,1150],{},[1094,1143,1144,1120,1147],{},[435,1145,1146],{},"cyclePlaybackRate(player)",[435,1148,1149],{},"playbackRateLabel(rate)",[1094,1151,1152],{},"Step through the rates, and format one for display",[1079,1154,1155,1160],{},[1094,1156,1157],{},[435,1158,1159],{},"useSpokenCues(player, cues, activeIndex, options?)",[1094,1161,1162,1165,1166,1169,1170,1173,1174],{},[435,1163,1164],{},"{ canSpeak, speechEnabled, toggleSpeech }"," - reads the active transcript cue aloud, borrowing the video's mute while it does. ",[435,1167,1168],{},"options"," takes ",[435,1171,1172],{},"pitch"," and ",[435,1175,1176],{},"rate",[426,1178,1180],{"id":1179},"wrapping-and-exposing-a-player","Wrapping and exposing a player",[1182,1183,1184,1205,1223],"ul",{},[1185,1186,1187,1193,1194,1196,1197,1200,1201,1204],"li",{},[444,1188,1190],{"href":1189},"\u002Fvideo-player\u002Fapi\u002Fmethods\u002Fwrapping#useforwardedplayer",[435,1191,1192],{},"useForwardedPlayer"," forwards a wrapped ",[435,1195,692],{},"'s full handle through your own component's ",[435,1198,1199],{},"defineExpose",", with an optional ",[435,1202,1203],{},"guard"," to intercept calls.",[1185,1206,1207,1213,1214,1216,1217,1220,1221,610],{},[444,1208,1210],{"href":1209},"\u002Fvideo-player\u002Fapi\u002Fmethods\u002Fwrapping#useresolvedplayer",[435,1211,1212],{},"useResolvedPlayer"," finds a player for a control of your own: resolves ",[435,1215,752],{},", then ",[435,1218,1219],{},"for",", then the enclosing ",[435,1222,692],{},[1185,1224,1225,1231,1232,1235],{},[444,1226,1228],{"href":1227},"\u002Fvideo-player\u002Fapi\u002Fmethods\u002Fwrapping#exposeplayeronelement",[435,1229,1230],{},"exposePlayerOnElement"," copies that handle onto a DOM element, so a third party's script or a separately-bundled ",[435,1233,1234],{},"\u003Cml-video-*>"," element can drive a plain Vue player.",[1237,1238,1239],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":462,"searchDepth":487,"depth":487,"links":1241},[1242,1243,1244,1245],{"id":428,"depth":487,"text":429},{"id":943,"depth":487,"text":944},{"id":1067,"depth":487,"text":1068},{"id":1179,"depth":487,"text":1180},"Custom HUDs, custom actions, composables, and wrapping\u002Fexposing a player - the surfaces you build on without forking.","md",null,{},{"icon":166},{"title":165,"description":1246},"pRTLW2sJaqSRSbjiWSHexf9mmdRV1CqM12Ydd63FtVs",[1254,1256],{"title":161,"path":162,"stem":163,"description":1255,"icon":116,"children":-1},"What happens automatically while an ad plays - visibility, PiP, the timeline, and iOS post-rolls.",{"title":172,"path":173,"stem":174,"description":1257,"icon":175,"children":-1},"Reskin every icon the HUD and controls draw, via the shared @munsonlabs\u002Fsigil registry.",1794851086056]