You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the time has come that all modern browsers are now able to play video with built-in players. Please consider the possibility to implement the following code, which I have successfully tested on Firefox (Windows and Linux) and Chrome (Android):
// HTML5 Video
} else if (URL.match(/.mp4|.avi|.mts/i)) {
mediaType = 'video';
mediaWidth = mediaWidth || options.defaultWidth;
mediaHeight = mediaHeight || options.defaultHeight;
mediaId = "mediaId_"+new Date().getTime(); // Safari may not update iframe content with a static id.
preload = new Element('video', {
'src': URL,
'id': mediaId,
'width': mediaWidth,
'height': mediaHeight,
'frameborder': 0,
'controls': 1
});
startEffect();
The text was updated successfully, but these errors were encountered:
Hi
I think the time has come that all modern browsers are now able to play video with built-in players. Please consider the possibility to implement the following code, which I have successfully tested on Firefox (Windows and Linux) and Chrome (Android):
// HTML5 Video
} else if (URL.match(/.mp4|.avi|.mts/i)) {
mediaType = 'video';
mediaWidth = mediaWidth || options.defaultWidth;
mediaHeight = mediaHeight || options.defaultHeight;
mediaId = "mediaId_"+new Date().getTime(); // Safari may not update iframe content with a static id.
preload = new Element('video', {
'src': URL,
'id': mediaId,
'width': mediaWidth,
'height': mediaHeight,
'frameborder': 0,
'controls': 1
});
startEffect();
The text was updated successfully, but these errors were encountered: