[{"data":1,"prerenderedAt":1101},["ShallowReactive",2],{"navigation_docs":3,"-splice-editor-video-player":420,"-splice-editor-video-player-surround":1096},[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":399,"body":422,"description":1089,"extension":1090,"links":1091,"meta":1092,"navigation":1093,"path":400,"seo":1094,"stem":401,"__hash__":1095},"docs\u002F05.splice\u002F03.editor\u002F02.video-player.md",{"type":423,"value":424,"toc":1083},"minimark",[425,452,1069,1079],[426,427,428,435,436,443,444,447,448,451],"p",{},[429,430,431],"a",{"href":37},[432,433,434],"code",{},"@munsonlabs\u002Fvideo-player"," takes one extra HUD button through its ",[429,437,439,442],{"href":438},"\u002Fvideo-player\u002Fapi\u002Fprops#ui",[432,440,441],{},"action"," prop",": ",[432,445,446],{},"{ icon, label, onClick }",", with ",[432,449,450],{},"icon"," as SVG markup. That's all a \"Clip this\" button needs. The player knows nothing about splice: the editor drives it through its public handle and draws over its picture.",[453,454,455,460,575,579,787,791,802,1028,1037,1054,1058],"steps",{},[456,457,459],"h3",{"id":458},"ask-whether-this-video-can-be-spliced","Ask whether this video can be spliced",[461,462,467],"pre",{"className":463,"code":464,"language":465,"meta":466,"style":466},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F Imported late, so Mediabunny isn't in the page bundle.\nconst { canSplice } = await import('@munsonlabs\u002Fsplice')\nconst check = await canSplice(src, { crop: { aspect: '9:16' } })\n","ts","",[432,468,469,478,521],{"__ignoreMap":466},[470,471,474],"span",{"class":472,"line":473},"line",1,[470,475,477],{"class":476},"sHwdD","\u002F\u002F Imported late, so Mediabunny isn't in the page bundle.\n",[470,479,481,485,489,493,496,499,503,506,509,512,516,518],{"class":472,"line":480},2,[470,482,484],{"class":483},"spNyl","const",[470,486,488],{"class":487},"sMK4o"," {",[470,490,492],{"class":491},"sTEyZ"," canSplice ",[470,494,495],{"class":487},"}",[470,497,498],{"class":487}," =",[470,500,502],{"class":501},"s7zQu"," await",[470,504,505],{"class":487}," import",[470,507,508],{"class":491},"(",[470,510,511],{"class":487},"'",[470,513,515],{"class":514},"sfazB","@munsonlabs\u002Fsplice",[470,517,511],{"class":487},[470,519,520],{"class":491},")\n",[470,522,524,526,529,532,534,538,541,544,546,550,553,555,558,560,563,566,568,571,573],{"class":472,"line":523},3,[470,525,484],{"class":483},[470,527,528],{"class":491}," check ",[470,530,531],{"class":487},"=",[470,533,502],{"class":501},[470,535,537],{"class":536},"s2Zo4"," canSplice",[470,539,540],{"class":491},"(src",[470,542,543],{"class":487},",",[470,545,488],{"class":487},[470,547,549],{"class":548},"swJcz"," crop",[470,551,552],{"class":487},":",[470,554,488],{"class":487},[470,556,557],{"class":548}," aspect",[470,559,552],{"class":487},[470,561,562],{"class":487}," '",[470,564,565],{"class":514},"9:16",[470,567,511],{"class":487},[470,569,570],{"class":487}," }",[470,572,570],{"class":487},[470,574,520],{"class":491},[456,576,578],{"id":577},"offer-the-action-only-when-it-works","Offer the action only when it works",[461,580,582],{"className":463,"code":581,"language":465,"meta":466,"style":466},"const scissors = [\n  '\u003Csvg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">',\n  '\u003Ccircle cx=\"6\" cy=\"6\" r=\"3\"\u002F>',\n  '\u003Ccircle cx=\"6\" cy=\"18\" r=\"3\"\u002F>',\n  '\u003Cpath d=\"M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12\"\u002F>',\n  '\u003C\u002Fsvg>',\n].join('')\n\naction.value = check.ok\n  ? {\n      icon: scissors,\n      label: 'Clip this',\n      onClick: () => (open.value = true),\n    }\n  : null\n",[432,583,584,596,609,620,632,644,656,675,681,701,710,723,740,772,778],{"__ignoreMap":466},[470,585,586,588,591,593],{"class":472,"line":473},[470,587,484],{"class":483},[470,589,590],{"class":491}," scissors ",[470,592,531],{"class":487},[470,594,595],{"class":491}," [\n",[470,597,598,601,604,606],{"class":472,"line":480},[470,599,600],{"class":487},"  '",[470,602,603],{"class":514},"\u003Csvg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">",[470,605,511],{"class":487},[470,607,608],{"class":487},",\n",[470,610,611,613,616,618],{"class":472,"line":523},[470,612,600],{"class":487},[470,614,615],{"class":514},"\u003Ccircle cx=\"6\" cy=\"6\" r=\"3\"\u002F>",[470,617,511],{"class":487},[470,619,608],{"class":487},[470,621,623,625,628,630],{"class":472,"line":622},4,[470,624,600],{"class":487},[470,626,627],{"class":514},"\u003Ccircle cx=\"6\" cy=\"18\" r=\"3\"\u002F>",[470,629,511],{"class":487},[470,631,608],{"class":487},[470,633,635,637,640,642],{"class":472,"line":634},5,[470,636,600],{"class":487},[470,638,639],{"class":514},"\u003Cpath d=\"M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12\"\u002F>",[470,641,511],{"class":487},[470,643,608],{"class":487},[470,645,647,649,652,654],{"class":472,"line":646},6,[470,648,600],{"class":487},[470,650,651],{"class":514},"\u003C\u002Fsvg>",[470,653,511],{"class":487},[470,655,608],{"class":487},[470,657,659,662,665,668,670,673],{"class":472,"line":658},7,[470,660,661],{"class":491},"]",[470,663,664],{"class":487},".",[470,666,667],{"class":536},"join",[470,669,508],{"class":491},[470,671,672],{"class":487},"''",[470,674,520],{"class":491},[470,676,678],{"class":472,"line":677},8,[470,679,680],{"emptyLinePlaceholder":273},"\n",[470,682,684,686,688,691,693,696,698],{"class":472,"line":683},9,[470,685,441],{"class":491},[470,687,664],{"class":487},[470,689,690],{"class":491},"value ",[470,692,531],{"class":487},[470,694,695],{"class":491}," check",[470,697,664],{"class":487},[470,699,700],{"class":491},"ok\n",[470,702,704,707],{"class":472,"line":703},10,[470,705,706],{"class":487},"  ?",[470,708,709],{"class":487}," {\n",[470,711,713,716,718,721],{"class":472,"line":712},11,[470,714,715],{"class":548},"      icon",[470,717,552],{"class":487},[470,719,720],{"class":491}," scissors",[470,722,608],{"class":487},[470,724,726,729,731,733,736,738],{"class":472,"line":725},12,[470,727,728],{"class":548},"      label",[470,730,552],{"class":487},[470,732,562],{"class":487},[470,734,735],{"class":514},"Clip this",[470,737,511],{"class":487},[470,739,608],{"class":487},[470,741,743,746,748,751,754,757,759,761,763,767,770],{"class":472,"line":742},13,[470,744,745],{"class":536},"      onClick",[470,747,552],{"class":487},[470,749,750],{"class":487}," ()",[470,752,753],{"class":483}," =>",[470,755,756],{"class":491}," (open",[470,758,664],{"class":487},[470,760,690],{"class":491},[470,762,531],{"class":487},[470,764,766],{"class":765},"sfNiH"," true",[470,768,769],{"class":491},")",[470,771,608],{"class":487},[470,773,775],{"class":472,"line":774},14,[470,776,777],{"class":487},"    }\n",[470,779,781,784],{"class":472,"line":780},15,[470,782,783],{"class":487},"  :",[470,785,786],{"class":487}," null\n",[456,788,790],{"id":789},"put-the-editor-under-the-player","Put the editor under the player",[426,792,793,794,797,798,801],{},"Give it the player's handle, and the player's ",[432,795,796],{},"deep-link"," id in ",[432,799,800],{},"origin.player"," so the clip's link comes back to this player.",[461,803,807],{"className":804,"code":805,"language":806,"meta":466,"style":466},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CVideoPlayer ref=\"player\" :src=\"src\" :action=\"action\" deep-link=\"interview\" deep-link-end=\"loop\" \u002F>\n\u003CSpliceEditor\n  v-model:open=\"open\"\n  :player=\"player\"\n  :source=\"src\"\n  :origin=\"{\n    url: location.href,\n    title: 'The interview',\n    publisher: 'Example News',\n    player: 'interview',\n  }\"\n\u002F>\n","vue",[432,808,809,883,890,909,923,938,952,969,985,1001,1016,1023],{"__ignoreMap":466},[470,810,811,814,817,820,822,825,828,830,833,836,838,840,842,844,846,848,850,852,854,856,859,861,863,866,868,871,873,875,878,880],{"class":472,"line":473},[470,812,813],{"class":487},"\u003C",[470,815,816],{"class":548},"VideoPlayer",[470,818,819],{"class":483}," ref",[470,821,531],{"class":487},[470,823,824],{"class":487},"\"",[470,826,827],{"class":514},"player",[470,829,824],{"class":487},[470,831,832],{"class":487}," :",[470,834,835],{"class":483},"src",[470,837,531],{"class":487},[470,839,824],{"class":487},[470,841,835],{"class":491},[470,843,824],{"class":487},[470,845,832],{"class":487},[470,847,441],{"class":483},[470,849,531],{"class":487},[470,851,824],{"class":487},[470,853,441],{"class":491},[470,855,824],{"class":487},[470,857,858],{"class":483}," deep-link",[470,860,531],{"class":487},[470,862,824],{"class":487},[470,864,865],{"class":514},"interview",[470,867,824],{"class":487},[470,869,870],{"class":483}," deep-link-end",[470,872,531],{"class":487},[470,874,824],{"class":487},[470,876,877],{"class":514},"loop",[470,879,824],{"class":487},[470,881,882],{"class":487}," \u002F>\n",[470,884,885,887],{"class":472,"line":480},[470,886,813],{"class":487},[470,888,889],{"class":548},"SpliceEditor\n",[470,891,892,895,897,900,902,904,906],{"class":472,"line":523},[470,893,894],{"class":483},"  v-model",[470,896,552],{"class":487},[470,898,899],{"class":483},"open",[470,901,531],{"class":487},[470,903,824],{"class":487},[470,905,899],{"class":491},[470,907,908],{"class":487},"\"\n",[470,910,911,913,915,917,919,921],{"class":472,"line":622},[470,912,783],{"class":487},[470,914,827],{"class":483},[470,916,531],{"class":487},[470,918,824],{"class":487},[470,920,827],{"class":491},[470,922,908],{"class":487},[470,924,925,927,930,932,934,936],{"class":472,"line":634},[470,926,783],{"class":487},[470,928,929],{"class":483},"source",[470,931,531],{"class":487},[470,933,824],{"class":487},[470,935,835],{"class":491},[470,937,908],{"class":487},[470,939,940,942,945,947,949],{"class":472,"line":646},[470,941,783],{"class":487},[470,943,944],{"class":483},"origin",[470,946,531],{"class":487},[470,948,824],{"class":487},[470,950,951],{"class":487},"{\n",[470,953,954,957,959,962,964,967],{"class":472,"line":658},[470,955,956],{"class":548},"    url",[470,958,552],{"class":487},[470,960,961],{"class":491}," location",[470,963,664],{"class":487},[470,965,966],{"class":491},"href",[470,968,608],{"class":487},[470,970,971,974,976,978,981,983],{"class":472,"line":677},[470,972,973],{"class":548},"    title",[470,975,552],{"class":487},[470,977,562],{"class":487},[470,979,980],{"class":514},"The interview",[470,982,511],{"class":487},[470,984,608],{"class":487},[470,986,987,990,992,994,997,999],{"class":472,"line":683},[470,988,989],{"class":548},"    publisher",[470,991,552],{"class":487},[470,993,562],{"class":487},[470,995,996],{"class":514},"Example News",[470,998,511],{"class":487},[470,1000,608],{"class":487},[470,1002,1003,1006,1008,1010,1012,1014],{"class":472,"line":703},[470,1004,1005],{"class":548},"    player",[470,1007,552],{"class":487},[470,1009,562],{"class":487},[470,1011,865],{"class":514},[470,1013,511],{"class":487},[470,1015,608],{"class":487},[470,1017,1018,1021],{"class":472,"line":712},[470,1019,1020],{"class":487},"  }",[470,1022,908],{"class":487},[470,1024,1025],{"class":472,"line":725},[470,1026,1027],{"class":491},"\u002F>\n",[426,1029,1030,1031,1033,1034,664],{},"Nested inside the player's slot, the editor finds the player itself and needs neither ",[432,1032,827],{}," nor ",[432,1035,1036],{},"for",[426,1038,1039,1040,1045,1046,1049,1050,1053],{},"On a page without Vue, ",[429,1041,1042],{"href":404},[432,1043,1044],{},"\u003Cml-splice-editor for=\"interview\">"," does the same beside ",[432,1047,1048],{},"\u003Cml-video-player id=\"interview\">",", opened with ",[432,1051,1052],{},"editor.show()"," from the action.",[456,1055,1057],{"id":1056},"let-links-come-back","Let links come back",[426,1059,1060,1061,1064,1065,1068],{},"Turn on ",[429,1062,1063],{"href":183},"deep links"," on the same player. The clip's metadata and its copied link point at ",[432,1066,1067],{},"#ml-t=start,end&ml-player=interview",", and that player opens there with the range highlighted.",[426,1070,1071,1072,1078],{},"The ",[429,1073,1077],{"href":1074,"rel":1075},"https:\u002F\u002Fgithub.com\u002Fmunsonlabs\u002Fpackages\u002Ftree\u002Fmain\u002Fapps\u002Fdemos\u002Fsplice",[1076],"nofollow","splice demo app"," is this recipe, with a switch between an MP4 with WebVTT captions and an HLS stream.",[1080,1081,1082],"style",{},"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}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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 .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 .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}",{"title":466,"searchDepth":480,"depth":480,"links":1084},[1085,1086,1087,1088],{"id":458,"depth":523,"text":459},{"id":577,"depth":523,"text":578},{"id":789,"depth":523,"text":790},{"id":1056,"depth":523,"text":1057},"A scissors button in the player that opens the editor, and links back to the moment.","md",null,{},{"icon":28},{"title":399,"description":1089},"F8UiftZ2r4WXy92cYC446Q5hnD_LmOfdcjgcNrNidjI",[1097,1099],{"title":390,"path":396,"stem":397,"description":1098,"icon":391,"children":-1},"SpliceEditor, a \"clip this\" editor inline on the page's video-player.",{"title":403,"path":404,"stem":405,"description":1100,"icon":60,"children":-1},"\u003Cml-splice-editor>, the editor as a custom element, and loading it without a build step.",1794851087124]