ie11 html5播放,javascript - HTML5 Video Not Working, IE11 - Stack Overflow

I am in Windows Server 2012. I uploaded a site that works fine in my laptop, but has problems when I test it on the server's IE 11.0.9600.16384.

I have this code to insert html5 videos in the site

document.getElementById("videogal").innerHTML=' ';

elemv.src=mplv[0];

document.getElementById("videogal").appendChild(elemv);

videogal is a div

elemv is a global var:

var elemv = document.createElement("video");

mplv is an array that contains literals, such as "myFolder/myvideo.mp4".

As I said, it works fine in my laptop, but not in server's IE. IE's console says Not Implemented and marks this line elemv.src=mplv[0];

I dont know how to handle that. I alert the mplv[0] and has the proper value.

Most important: will this bug appear in client's browsers also? Or is just locally on server. I connect to the server as Admin and have turned off all the security restrictions of the IE.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值