mediaelement.js

mediaelement.js volume control messed when increasing browser zoom

怎甘沉沦 提交于 2019-12-07 13:00:02
问题 Media Element 2.12.0 This happens only in FF and Chrome (and not in IE or Opera). After navigating to site content which has media element player, even to Media Element front page http://mediaelementjs.com/ there is a player. When the browser zoom is set to Normal (usually by pressing Ctrl+0) it looks OK. When the zoom is increased (by pressing Ctrl++ or Ctrl+ scrolling mouse wheel) then the volume control is placed below the whole element. The above screenshot was made at zoom one level

MediaElement.js video player: Display time based on outside data?

不羁岁月 提交于 2019-12-07 10:17:10
问题 I've got a MediaElement.js player with a video loaded into it, and I have a (database-driven) function which, given a time offset within that video, gives me the actual real-world time at which that part of the video represents. I.e., if the video consists of 2 30-second clips, the first of which was recorded Tuesday morning, and the second of which was recorded Thursday evening, the function I've got will take an input of 25.2 and return a particular time on Tuesday morning, or it'll take an

mediaelement.js Multiple videos on same page?

耗尽温柔 提交于 2019-12-07 06:40:05
问题 I'm trying to put multiple videos up on a page, however when I click on one to play, they all play? Has anyone else experienced this? Heres a snippet of the code im using $("video,audio").mediaelementplayer({ success: function (player, node) { player.pause(); } }); $('.mag_video .overlay_exit, .mag_video .overlay_bg').live('click', function () { var _this = this; $("video,audio").each(function () { $(this)[0].player.pause(); }) }); 回答1: There is an option available to disable this behavior

mediaelement.js video doesn't play in IE8

时光总嘲笑我的痴心妄想 提交于 2019-12-06 06:36:53
问题 I've looked through all the other questions posed here, and nothing has really solved my problem. At present the video will load and play in Chrome, Safari, FF, and IE9, but NOT IE8 which is the last browser I need to support. You can view the page here. I have been trying to use the Debug option, but not getting any help from that either. Here is what the debugger is telling me: Initializing... stage: 0x560 file: path/to/video.mp4 autoplay:true preload:true isvideo:true smoothing:false

Ogg audio in safari

廉价感情. 提交于 2019-12-06 06:07:21
问题 How can I play .ogg audio files in safari without converting it to mp3? I use mediaelements.js library to flash fallback and it works fine in chrome and firefox and plays both mp3 and ogg files, but in safari it plays only mp3. Looks like flash fallback of this library can't play audio/ogg. 回答1: Codec support in modern desktop browsers Browser Ogg Vorbis MP3 WAV Firefox 3.6+ ✓ ✓ Safari 5+ ✓ ✓ Chrome 6 ✓ ✓ Opera 10.5+ ✓ ✓ Internet Explorer 9+ ✓ ✓ 回答2: AFAIK, Safari straight up doesn't do OGG.

mediaelement.js volume control messed when increasing browser zoom

 ̄綄美尐妖づ 提交于 2019-12-06 03:41:44
Media Element 2.12.0 This happens only in FF and Chrome (and not in IE or Opera). After navigating to site content which has media element player, even to Media Element front page http://mediaelementjs.com/ there is a player. When the browser zoom is set to Normal (usually by pressing Ctrl+0) it looks OK. When the zoom is increased (by pressing Ctrl++ or Ctrl+ scrolling mouse wheel) then the volume control is placed below the whole element. The above screenshot was made at zoom one level larger from normal. Is there a method to make it look good in all browser zooms? It seems that the children

How do I edit the Default Volume?

只愿长相守 提交于 2019-12-05 02:03:47
问题 I'd like to set the default audio volume on the wordpress mediaelement.js player to be at 100% volume. It appears that the default is somewhere around 80%. Can anyone tell me which bit of code I need to change in order to do this? It'd be great if future versions of Wordpress come with a basic 'Settings' function for the now native player so we can alter thing like default volume and colours. 回答1: Got interested too with that question. So you have to go to your folder like: /wordpress/wp

Videos no longer streaming with mediaelement.js in Chrome

流过昼夜 提交于 2019-12-04 21:33:21
问题 Over the past few days, we noticed that our videos quit streaming using MediaElement.js Version 2.11.3 and Chrome Version 50.0.2661.94 (64-bit) Videos still play in Firefox and Safari without a problem. The error we receive in the Chrome Dev Tools is: Uncaught (in promise) DOMException: The element has no supported sources. The markup on the rendered page looks like this: <video height="150" poster="https://xxxxxxxxxx.cloudfront.net/123423_1_thumb.jpg" preload="auto" width="200" src="" hidden

HTML5 video from MVC3 action not working correctly

﹥>﹥吖頭↗ 提交于 2019-12-04 17:54:41
I'm serving video from an MVC3 site, with the controller action that returns the video returning a FilePathResult, and when trying to play back in the browser, I'm seeing some frustrating issues, regardless of my using video.js or mediaelement.js. Chrome doesn't let you change the position using progressbar, nor does it allow you to replay the video once it has completed IE9 seems relatively fine Firefox doesn't show the elapsed/remaining time correctly However, if I just give a relative path to the file being hosted, it all works fine. The videos need to be available only to users who belong

mediaelement.js: Local Flash playback shows black video with sound unless shown full screen

[亡魂溺海] 提交于 2019-12-04 17:37:25
When using mediaelement.js for playback from a webserver, everything works as it should. If I try running from my local hard disk, in HTML 5 the video plays fine, however, when the flash player is used the audio plays but the video is black. If I select full screen, the video plays. This occurs even with the Demo players that are included as part of the download. Does anyone know if there is a fix for this? Ron M After some experimenting I was able to resolve my own question. I added an explicit call to setVideoSize with the correct dimensions and now the video displays when run from the local