embed exclude for IE/FF fix
This commit is contained in:
parent
2a7a714aad
commit
718d009f9f
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
var embedtype = $('input[name=force]').val();
|
var embedtype = $('input[name=force]').val();
|
||||||
|
|
||||||
var info = document.createElement('script');
|
var info = document.createElement('script');
|
||||||
info.src = 'http://localhost:8080/info_'+streamName+'.js';
|
info.src = 'http://'+window.location.hostname+':8080/info_'+streamName+'.js';
|
||||||
document.getElementById('embedcontainer').appendChild(info);
|
document.getElementById('embedcontainer').appendChild(info);
|
||||||
info.onload = function(){
|
info.onload = function(){
|
||||||
if (embedtype == '') {
|
if (embedtype == '') {
|
||||||
|
|
|
@ -38,7 +38,7 @@ function mistembed(streamname) {
|
||||||
var support = false;
|
var support = false;
|
||||||
|
|
||||||
|
|
||||||
if (type == 'mp4') {
|
if (type == 'video/mp4') {
|
||||||
if (navigator.userAgent.indexOf('Firefox') > -1) {
|
if (navigator.userAgent.indexOf('Firefox') > -1) {
|
||||||
//firefox claims to support MP4 but doesn't
|
//firefox claims to support MP4 but doesn't
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue