I am facing an issue with WMP object video playing in IE11.
Same video is playing well in IE10.
System configuration is as below:
OS: Windows 7 ultimate SP1
IE : 11.0.9600.18204
WMP version: 12.0.7601.18840
IE Document mode : 10 (Default)
User agent string : Default
I also tried to change document mode and user-agent string, but no luck.
I have searched a lot but not found any solution.
Related
i searched and tried many ways to get my video player working in chrome browsers.
even with a empty cache i get errors;
they worked until i switched video source to binary data. works fine in mozilla both in windows and in linux, without any errors, but not in others. I load this page within an iframe on my homepage.
video source comes from $_[GET] method and then attached to a data-src attribute.
/*plus other functions*/
video=player.querySelectorAll(".play-window")[0].getElementsByTagName("video")[0];
function is_playing(curTime){
return feedback;
};
function can_play(what){
if((!what.canplay||!what.canplaythrough)&&what.loaded==false&&what.src==''){
what.setAttribute('poster',src_err);total.innerHTML='src Error';
}else{is_playing(what.currentTime);
};`` };
window.addEventListener('DOMContentLoaded',function(){
video.src=src_arg_all[0].getAttribute('data-src');video.load();can_play(video);
});
/*plus other functions & event listeners*/
so far i've tested this problem on windows and linux based browsers.
nothing special.
if more details needed i will post them here. thanks for any help in advance.
`if(navigator.userAgent.toLowerCase().includes('chrome')){video.src=src_arg_all[0].getAttribute('data-src');};`
it was so easy it must have slipped my mind. ;-)
I have an issue with the MediaRecorder API. It works fine on Chrome and used to work on earlier versions of Firefox (Mac), but since version 53.0.2, I get the following in the dev console:
--> MediaRecorder.isTypeSupported('audio/webm')
false
--> MediaRecorder.isTypeSupported('video/webm')
true
Did Firefox stop supporting audio recording through the MediaRecorder API?
Firefox did implement MediaRecorder.isTypeSupported() in FF47. I did an mozRegression loop between now and 47 to check when it did change as you said.
Result : It never reported true for audio/webm in any version tried (on osX).
But, Firefox does support audio/ogg mimeType, (which I guess is the default for audio only). And since both Firefox and Chrome do record audio encoded with an Opus codec, the more common mimeType for the container is indeed audio/ogg.
Note that Chrome doesn't return true for audio/ogg.
Looking forward for this API.
According to MDN documentation, getVideoPlaybackQuality() on HTMLVideoElement is available after version 25.0.
However, I tried to call it on video element in Firefox 38.1.0 and got an getVideoPlaybackQuality is not a function error.
Is this api actually available for Firefox?
According to Firefox MSE bug report,
Firefox has a whitelist limiting MSE (to YouTube, Netflix, and Dailymotion) while we fix some compatibility bugs. The whitelist will likely be removed in Firefox 42, making MSE available to all websites.
Did you catch the footnote in Mozilla's documentation ... that the function is only available if you switch on a config flag?
Load about:config in Firefox and search for the media.mediasource.enabled flag, then set it to true and try your function call again.
EDIT: If I'm reading correctly, the release notes for Firefox 37 and Firefox 38 seem to indicate that the MediaSource API is currently implemented for YouTube only. However, it's enabled for Firefox Nightlies right now.
I'm attempting to display a video in Firefox. The video has to be in MP4, converting the video isn't an option. However this will only work in some situations as Firefox relies on OS level support for MP4, rather than built in support.
It's ok that it won't always work, but I want to be able to detect when it will fail.
I've tried several existing solutions on StackOverflow ( How to check if the browser can play mp4 via html5 video tag? )
My current testing code reads:
var mp4Supported = (!!document.createElement('video').canPlayType('video/mp4; codecs=avc1.42E01E,mp4a.40.2'));
if (!mp4Supported) { console.log("MP4 not supported") } else { console.log("MP4 supported") };
However since Firefox now does (technically) support MP4, this seems to always return true, whether the video can be decoded or not.
Console output from the above on Firefox where there's no native support for MP4:
"MP4 supported"
Media resource <My resource URL> could not be decoded.
Does anyone know of a reliable way to detect successful running now that Firefox has partial support?
i am trying to write a websocket page, and it works in Chrome and some other browsers on my Ubuntu machine.
however, firefox would not run the websocket part, and both window[WebSocket] and window[MozWebSocket] return "undefined". does firefox not support websockets?
Use (from MDN docs):
var mySocket = new WebSocket("ws://www.example.com/socketserver", "protocol");
It is supported from Firefox 6.0 (known as MozWebSocket prior to Fx 11 - see #Dracs' comment).
Extensions like TorButton can set network.websocket.enabled to false in about:config. Make sure it's true.