[{"data":1,"prerenderedAt":707},["ShallowReactive",2],{"content-\u002Fdocumentation\u002Fvideos":3,"root-redirect":464,"navigation":631},{"id":4,"title":5,"body":6,"category":456,"description":457,"extension":370,"meta":458,"navigation":459,"path":460,"seo":461,"stem":462,"__hash__":463},"content\u002F2.documentation\u002Fvideos.md","Videos",{"type":7,"value":8,"toc":449},"minimark",[9,13,17,20,33,36,41,49,56,59,69,72,133,136,142,144,148,154,156,217,220,291,293,297,303,305,352,355,357,361,364,366,383,389,392,398,401,407,409,413,415,419,426,428,442,445],[10,11,5],"h1",{"id":12},"videos",[14,15,16],"p",{},"Videos can be used to provide tutorials, demonstrations, or visual explanations inside your documentation.",[14,18,19],{},"SimpleWiki supports multiple ways to embed videos:",[21,22,23,27,30],"ul",{},[24,25,26],"li",{},"Local HTML5 videos",[24,28,29],{},"External video platforms",[24,31,32],{},"Privacy-friendly YouTube embeds",[34,35],"hr",{},[37,38,40],"h2",{"id":39},"local-videos","Local Videos",[14,42,43,44,48],{},"For videos stored inside your own project, use the standard HTML5 ",[45,46,47],"code",{},"\u003Cvideo>"," element.",[14,50,51,52,55],{},"Place your video files inside the ",[45,53,54],{},"public\u002F"," directory.",[14,57,58],{},"Example:",[60,61,67],"pre",{"className":62,"code":64,"language":65,"meta":66},[63],"language-text","public\u002F\n└── videos\u002F\n    └── example.mp4\n","text","",[45,68,64],{"__ignoreMap":66},[14,70,71],{},"You can then embed the video inside a Markdown page:",[60,73,77],{"className":74,"code":75,"language":76,"meta":66,"style":66},"language-html shiki shiki-themes github-light github-dark","\u003Cvideo src=\"\u002Fsimplewiki\u002Fvideos\u002Fbunny.mp4\" controls width=\"100%\">\n  Your browser does not support the video tag.\n\u003C\u002Fvideo>\n","html",[45,78,79,117,123],{"__ignoreMap":66},[80,81,84,88,92,96,99,103,106,109,111,114],"span",{"class":82,"line":83},"line",1,[80,85,87],{"class":86},"sVt8B","\u003C",[80,89,91],{"class":90},"s9eBZ","video",[80,93,95],{"class":94},"sScJk"," src",[80,97,98],{"class":86},"=",[80,100,102],{"class":101},"sZZnC","\"\u002Fsimplewiki\u002Fvideos\u002Fbunny.mp4\"",[80,104,105],{"class":94}," controls",[80,107,108],{"class":94}," width",[80,110,98],{"class":86},[80,112,113],{"class":101},"\"100%\"",[80,115,116],{"class":86},">\n",[80,118,120],{"class":82,"line":119},2,[80,121,122],{"class":86},"  Your browser does not support the video tag.\n",[80,124,126,129,131],{"class":82,"line":125},3,[80,127,128],{"class":86},"\u003C\u002F",[80,130,91],{"class":90},[80,132,116],{"class":86},[14,134,135],{},"Result:",[91,137,141],{"src":138,"controls":139,"width":140},"\u002Fsimplewiki\u002Fvideos\u002Fbunny.mp4",true,"100%","\n  Your browser does not support the video tag.\n",[34,143],{},[37,145,147],{"id":146},"video-controls","Video Controls",[14,149,150,151,153],{},"The ",[45,152,47],{}," element supports standard HTML attributes.",[14,155,58],{},[60,157,159],{"className":74,"code":158,"language":76,"meta":66,"style":66},"\u003Cvideo \n  src=\"\u002Fvideos\u002Fexample.mp4\"\n  controls\n  autoplay\n  loop\n  muted\n>\n\u003C\u002Fvideo>\n",[45,160,161,170,180,185,191,197,203,208],{"__ignoreMap":66},[80,162,163,165,167],{"class":82,"line":83},[80,164,87],{"class":86},[80,166,91],{"class":90},[80,168,169],{"class":86}," \n",[80,171,172,175,177],{"class":82,"line":119},[80,173,174],{"class":94},"  src",[80,176,98],{"class":86},[80,178,179],{"class":101},"\"\u002Fvideos\u002Fexample.mp4\"\n",[80,181,182],{"class":82,"line":125},[80,183,184],{"class":94},"  controls\n",[80,186,188],{"class":82,"line":187},4,[80,189,190],{"class":94},"  autoplay\n",[80,192,194],{"class":82,"line":193},5,[80,195,196],{"class":94},"  loop\n",[80,198,200],{"class":82,"line":199},6,[80,201,202],{"class":94},"  muted\n",[80,204,206],{"class":82,"line":205},7,[80,207,116],{"class":86},[80,209,211,213,215],{"class":82,"line":210},8,[80,212,128],{"class":86},[80,214,91],{"class":90},[80,216,116],{"class":86},[14,218,219],{},"Common attributes:",[221,222,223,237],"table",{},[224,225,226],"thead",{},[227,228,229,234],"tr",{},[230,231,233],"th",{"align":232},"left","Attribute",[230,235,236],{"align":232},"Description",[238,239,240,251,261,271,281],"tbody",{},[227,241,242,248],{},[243,244,245],"td",{"align":232},[45,246,247],{},"controls",[243,249,250],{"align":232},"Shows playback controls",[227,252,253,258],{},[243,254,255],{"align":232},[45,256,257],{},"autoplay",[243,259,260],{"align":232},"Starts playback automatically",[227,262,263,268],{},[243,264,265],{"align":232},[45,266,267],{},"loop",[243,269,270],{"align":232},"Repeats the video",[227,272,273,278],{},[243,274,275],{"align":232},[45,276,277],{},"muted",[243,279,280],{"align":232},"Starts without sound",[227,282,283,288],{},[243,284,285],{"align":232},[45,286,287],{},"poster",[243,289,290],{"align":232},"Displays an image before playback",[34,292],{},[37,294,296],{"id":295},"video-thumbnails","Video Thumbnails",[14,298,299,300,302],{},"You can define a preview image using the ",[45,301,287],{}," attribute.",[14,304,58],{},[60,306,308],{"className":74,"code":307,"language":76,"meta":66,"style":66},"\u003Cvideo \n  src=\"\u002Fvideos\u002Fexample.mp4\"\n  controls\n  poster=\"\u002Fimages\u002Fvideo-thumbnail.jpg\"\n>\n\u003C\u002Fvideo>\n",[45,309,310,318,326,330,340,344],{"__ignoreMap":66},[80,311,312,314,316],{"class":82,"line":83},[80,313,87],{"class":86},[80,315,91],{"class":90},[80,317,169],{"class":86},[80,319,320,322,324],{"class":82,"line":119},[80,321,174],{"class":94},[80,323,98],{"class":86},[80,325,179],{"class":101},[80,327,328],{"class":82,"line":125},[80,329,184],{"class":94},[80,331,332,335,337],{"class":82,"line":187},[80,333,334],{"class":94},"  poster",[80,336,98],{"class":86},[80,338,339],{"class":101},"\"\u002Fimages\u002Fvideo-thumbnail.jpg\"\n",[80,341,342],{"class":82,"line":193},[80,343,116],{"class":86},[80,345,346,348,350],{"class":82,"line":199},[80,347,128],{"class":86},[80,349,91],{"class":90},[80,351,116],{"class":86},[14,353,354],{},"The image will be displayed before the user starts the video.",[34,356],{},[37,358,360],{"id":359},"youtube-videos","YouTube Videos",[14,362,363],{},"SimpleWiki includes a privacy-friendly YouTube component, using the youtube-nocookie.com domain.\nVideos are not loaded immediately. The external YouTube connection is only created after the user starts playback.",[14,365,58],{},[60,367,371],{"className":368,"code":369,"language":370,"meta":66,"style":66},"language-md shiki shiki-themes github-light github-dark","::youtube{id=\"B5hUgTZQOMs\"}\n::\n","md",[45,372,373,378],{"__ignoreMap":66},[80,374,375],{"class":82,"line":83},[80,376,377],{"class":86},"::youtube{id=\"B5hUgTZQOMs\"}\n",[80,379,380],{"class":82,"line":119},[80,381,382],{"class":86},"::\n",[14,384,150,385,388],{},[45,386,387],{},"id"," is the YouTube video ID.",[14,390,391],{},"For example:",[60,393,396],{"className":394,"code":395,"language":65},[63],"https:\u002F\u002Fyoutube.com\u002Fwatch?v=B5hUgTZQOMs\n",[45,397,395],{"__ignoreMap":66},[14,399,400],{},"The ID is:",[60,402,405],{"className":403,"code":404,"language":65},[63],"B5hUgTZQOMs\n",[45,406,404],{"__ignoreMap":66},[14,408,135],{},[410,411],"youtube",{"id":412},"B5hUgTZQOMs",[34,414],{},[37,416,418],{"id":417},"custom-thumbnail-size","Custom Thumbnail Size",[14,420,421,422,425],{},"You can customize the thumbnail quality using the ",[45,423,424],{},"thumb-size"," property.",[14,427,58],{},[60,429,431],{"className":368,"code":430,"language":370,"meta":66,"style":66},"::youtube{id=\"d_IFKP1Ofq0\" thumb-size=\"hqdefault\"}\n::\n",[45,432,433,438],{"__ignoreMap":66},[80,434,435],{"class":82,"line":83},[80,436,437],{"class":86},"::youtube{id=\"d_IFKP1Ofq0\" thumb-size=\"hqdefault\"}\n",[80,439,440],{"class":82,"line":119},[80,441,382],{"class":86},[14,443,444],{},"Available thumbnail sizes depend on YouTube's supported formats.",[446,447,448],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}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);}",{"title":66,"searchDepth":83,"depth":119,"links":450},[451,452,453,454,455],{"id":39,"depth":119,"text":40},{"id":146,"depth":119,"text":147},{"id":295,"depth":119,"text":296},{"id":359,"depth":119,"text":360},{"id":417,"depth":119,"text":418},null,"Learn how to embed videos in SimpleWiki documentation pages.",{},{"title":5,"order":193},"\u002Fdocumentation\u002Fvideos",{"title":5,"description":457},"2.documentation\u002Fvideos","ZR2RG3EBBUG_X85bgy_NgL8uhsZcAzBRok5QBB4y52k",[465,495,522,609,622],{"title":466,"items":467,"path":480,"stem":481,"children":482},"Getting Started",[468,471,474,477],{"title":469,"path":470},"Welcome","\u002F",{"title":472,"path":473},"Installation","\u002Finstallation",{"title":475,"path":476},"Project Structure","\u002Fproject-structure",{"title":478,"path":479},"Creating Your First Wiki","\u002Fcreating-your-first-wiki","\u002Fgetting-started","1.getting-started",[483,486,489,492],{"title":484,"path":480,"stem":485,"order":83},"Introduction","1.getting-started\u002Findex",{"title":478,"path":487,"stem":488,"order":187},"\u002Fgetting-started\u002Ffirst-wiki","1.getting-started\u002Ffirst-wiki",{"title":472,"path":490,"stem":491,"order":119},"\u002Fgetting-started\u002Finstallation","1.getting-started\u002Finstallation",{"title":475,"path":493,"stem":494,"order":125},"\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002Fproject-structure",{"title":496,"path":497,"stem":498,"children":499,"page":521},"Documentation","\u002Fdocumentation","2.documentation",[500,504,508,512,516,520],{"title":501,"path":502,"stem":503,"order":119},"Code Blocks","\u002Fdocumentation\u002Fcode-blocks","2.documentation\u002Fcode-blocks",{"title":505,"path":506,"stem":507,"order":187},"Field Tables","\u002Fdocumentation\u002Ffield-tables","2.documentation\u002Ffield-tables",{"title":509,"path":510,"stem":511,"order":193},"Images","\u002Fdocumentation\u002Fimages","2.documentation\u002Fimages",{"title":513,"path":514,"stem":515,"order":83},"Markdown Syntax","\u002Fdocumentation\u002Fmarkdown-syntax","2.documentation\u002Fmarkdown-syntax",{"title":517,"path":518,"stem":519,"order":125},"Tables","\u002Fdocumentation\u002Ftables","2.documentation\u002Ftables",{"title":5,"path":460,"stem":462,"order":193},false,{"title":523,"path":524,"stem":525,"children":526,"page":521},"Components","\u002Fcomponents","3.components",[527,531,535,540,544,549,554,558,562,567,572,576,581,586,591,596,601,605],{"title":528,"path":529,"stem":530,"order":199},"Accordions","\u002Fcomponents\u002Faccordion","3.components\u002Faccordion",{"title":532,"path":533,"stem":534,"order":193},"Badges","\u002Fcomponents\u002Fbadge","3.components\u002Fbadge",{"title":536,"path":537,"stem":538,"order":539},"Category List","\u002Fcomponents\u002Fcategory-list","3.components\u002Fcategory-list",15,{"title":541,"path":542,"stem":543,"order":210},"Collapsible","\u002Fcomponents\u002Fcollapsible","3.components\u002Fcollapsible",{"title":545,"path":546,"stem":547,"order":548},"Diff","\u002Fcomponents\u002Fdiff","3.components\u002Fdiff",9,{"title":550,"path":551,"stem":552,"order":553},"Hatnote","\u002Fcomponents\u002Fhatnote","3.components\u002Fhatnote",12,{"title":555,"path":556,"stem":557,"order":119},"Highlight","\u002Fcomponents\u002Fhighlight","3.components\u002Fhighlight",{"title":559,"path":560,"stem":561,"order":125},"Info Boxes","\u002Fcomponents\u002Finfo-boxes","3.components\u002Finfo-boxes",{"title":563,"path":564,"stem":565,"order":566},"Kbd (Keyboard)","\u002Fcomponents\u002Fkbd","3.components\u002Fkbd",11,{"title":568,"path":569,"stem":570,"order":571},"Link Card","\u002Fcomponents\u002Flink-card","3.components\u002Flink-card",17,{"title":573,"path":574,"stem":575,"order":83},"Overview","\u002Fcomponents\u002Foverview","3.components\u002Foverview",{"title":577,"path":578,"stem":579,"order":580},"Pull Quote","\u002Fcomponents\u002Fpull-quote","3.components\u002Fpull-quote",13,{"title":582,"path":583,"stem":584,"order":585},"Reference List","\u002Fcomponents\u002Freference-list","3.components\u002Freference-list",14,{"title":587,"path":588,"stem":589,"order":590},"References","\u002Fcomponents\u002Freferences","3.components\u002Freferences",18,{"title":592,"path":593,"stem":594,"order":595},"See Also","\u002Fcomponents\u002Fsee-also","3.components\u002Fsee-also",16,{"title":597,"path":598,"stem":599,"order":600},"Steps","\u002Fcomponents\u002Fsteps","3.components\u002Fsteps",10,{"title":602,"path":603,"stem":604,"order":187},"Tabs","\u002Fcomponents\u002Ftabs","3.components\u002Ftabs",{"title":606,"path":607,"stem":608,"order":205},"Timeline","\u002Fcomponents\u002Ftimeline","3.components\u002Ftimeline",{"title":610,"path":611,"stem":612,"children":613,"page":521},"Diagrams","\u002Fdiagrams","4.diagrams",[614,618],{"title":615,"path":616,"stem":617,"order":83},"Mermaid","\u002Fdiagrams\u002Fmermaid","4.diagrams\u002Fmermaid",{"title":619,"path":620,"stem":621,"order":119},"PlantUML","\u002Fdiagrams\u002Fplantuml","4.diagrams\u002Fplantuml",{"title":623,"path":624,"stem":625,"children":626,"page":521},"Playground","\u002Fplayground","playground",[627],{"title":628,"path":629,"stem":630,"hide":139},"Markdown Test","\u002Fplayground\u002Fmarkdown-test","playground\u002Fmarkdown-test",[632,647,661,699,705],{"title":466,"items":633,"path":480,"stem":481,"children":638},[634,635,636,637],{"title":469,"path":470},{"title":472,"path":473},{"title":475,"path":476},{"title":478,"path":479},[639,641,643,645],{"title":484,"path":480,"stem":485,"order":83,"children":640},[],{"title":472,"path":490,"stem":491,"order":119,"children":642},[],{"title":475,"path":493,"stem":494,"order":125,"children":644},[],{"title":478,"path":487,"stem":488,"order":187,"children":646},[],{"title":496,"path":497,"stem":498,"children":648,"page":521},[649,651,653,655,657,659],{"title":513,"path":514,"stem":515,"order":83,"children":650},[],{"title":501,"path":502,"stem":503,"order":119,"children":652},[],{"title":517,"path":518,"stem":519,"order":125,"children":654},[],{"title":505,"path":506,"stem":507,"order":187,"children":656},[],{"title":509,"path":510,"stem":511,"order":193,"children":658},[],{"title":5,"path":460,"stem":462,"order":193,"children":660},[],{"title":523,"path":524,"stem":525,"children":662,"page":521},[663,665,667,669,671,673,675,677,679,681,683,685,687,689,691,693,695,697],{"title":573,"path":574,"stem":575,"order":83,"children":664},[],{"title":555,"path":556,"stem":557,"order":119,"children":666},[],{"title":559,"path":560,"stem":561,"order":125,"children":668},[],{"title":602,"path":603,"stem":604,"order":187,"children":670},[],{"title":532,"path":533,"stem":534,"order":193,"children":672},[],{"title":528,"path":529,"stem":530,"order":199,"children":674},[],{"title":606,"path":607,"stem":608,"order":205,"children":676},[],{"title":541,"path":542,"stem":543,"order":210,"children":678},[],{"title":545,"path":546,"stem":547,"order":548,"children":680},[],{"title":597,"path":598,"stem":599,"order":600,"children":682},[],{"title":563,"path":564,"stem":565,"order":566,"children":684},[],{"title":550,"path":551,"stem":552,"order":553,"children":686},[],{"title":577,"path":578,"stem":579,"order":580,"children":688},[],{"title":582,"path":583,"stem":584,"order":585,"children":690},[],{"title":536,"path":537,"stem":538,"order":539,"children":692},[],{"title":592,"path":593,"stem":594,"order":595,"children":694},[],{"title":568,"path":569,"stem":570,"order":571,"children":696},[],{"title":587,"path":588,"stem":589,"order":590,"children":698},[],{"title":610,"path":611,"stem":612,"children":700,"page":521},[701,703],{"title":615,"path":616,"stem":617,"order":83,"children":702},[],{"title":619,"path":620,"stem":621,"order":119,"children":704},[],{"title":623,"path":624,"stem":625,"children":706,"page":521},[],1795408344888]