From 0c39df2895ef36a3d338d123fe9fe07b2f8b16f4 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 7 Feb 2021 17:32:55 +0200 Subject: [PATCH] server player --- aplayer.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aplayer.html b/aplayer.html index 7f8ef68..2e4c66e 100644 --- a/aplayer.html +++ b/aplayer.html @@ -15,9 +15,8 @@ var src = '/player/'+llo+'/'+item+'.cast' var video = document.getElementById('p1'); - var source = document.createElement('source'); - source.setAttribute('src', src); - video.appendChild(source); + video.setAttribute('src', src); + //document.querySelector("#p1").setAttribute("src", src); }