commit 8e90f0399fddf79c472baf6aa4b26d441ef068af parent 1af333c5a43d30e37b6b1227ab5a153ab84730d2 Author: ugrnm <ultrageranium@bleu255.com> Date: Sun Jul 5 00:45:20 +0200 simplerDiffstat:
muc/xpubplayer.js | | | 5 | ++--- |
diff --git a/muc/xpubplayer.js b/muc/xpubplayer.js @@ -5,10 +5,9 @@ var chat_title = document.getElementsByClassName("chat-area col")[0]; var element = document.createElement("div"); - element.setAttribute("id", "videoemboddy"); - element.setAttribute("class", "video-container"); + element.setAttribute("id", "videoplayer"); - element.innerHTML = '<div class="" id="vid1"><video-js id=vid1 width=100% height=100% class="video-js vjs-layout-large vjs-controls-enabled vjs-default-skin vjs-paused vid1-dimensions vjs-controls-enabled vjs-workinghover vjs-v7 vjs-user-active vjs-live" controls data-setup=\'{"controls": true}\'><source src="http://echo.lurk.org:999/test.webm" type="video/webm"></video-js></div>'; + element.innerHTML = '<video controls autoplay><source src="http://echo.lurk.org:999/test.webm" type="video/webm"></video>'; chat_title.insertBefore(element, chat_title.firstChild);