mediaelement.js

How to play google drive mp3 file using html audio tag?

家住魔仙堡 提交于 2021-02-15 10:16:03
问题 My aim is to play the mp3 file from the google drive. I am using the plugin MediaElement js. The reference I got is https://www.portalzine.de/dev/html5/hosting-mp3-files-on-google-drive-html5-audio-player/ This is working in chrome, Mozilla firefox but not in IE-11, safari and opera. I want this to be play in all browsers. Please give me the suggestions.... 回答1: 1. URL for the audio file (anyone can view) https://drive.google.com/file/d/1nQklEicsMeGBnuk0vv6zkHtXtyGy10S-/view?usp=sharing 2.

How to play google drive mp3 file using html audio tag?

江枫思渺然 提交于 2021-02-15 10:12:56
问题 My aim is to play the mp3 file from the google drive. I am using the plugin MediaElement js. The reference I got is https://www.portalzine.de/dev/html5/hosting-mp3-files-on-google-drive-html5-audio-player/ This is working in chrome, Mozilla firefox but not in IE-11, safari and opera. I want this to be play in all browsers. Please give me the suggestions.... 回答1: 1. URL for the audio file (anyone can view) https://drive.google.com/file/d/1nQklEicsMeGBnuk0vv6zkHtXtyGy10S-/view?usp=sharing 2.

How to play google drive mp3 file using html audio tag?

陌路散爱 提交于 2021-02-15 10:12:27
问题 My aim is to play the mp3 file from the google drive. I am using the plugin MediaElement js. The reference I got is https://www.portalzine.de/dev/html5/hosting-mp3-files-on-google-drive-html5-audio-player/ This is working in chrome, Mozilla firefox but not in IE-11, safari and opera. I want this to be play in all browsers. Please give me the suggestions.... 回答1: 1. URL for the audio file (anyone can view) https://drive.google.com/file/d/1nQklEicsMeGBnuk0vv6zkHtXtyGy10S-/view?usp=sharing 2.

Mediaelement loads video player in an audio tag

可紊 提交于 2020-01-15 12:39:06
问题 I'm using a javascript code to load links to mp3 using medialement.js The configuration is as follows: HTML <a class="audio-player" href="some.mp3">This mp3 is cool</a> Javascript: var audioDiv = document.getElementsByClassName("audio-player"); $(audioDiv).each(function(index) { if ($(this).className != 'mediaplayer-processed') { var playlist = $(this).attr('href'); playlist = playlist.replace("%20", " "); sourceType = playlist.split('.').pop().toLowerCase(); if (sourceType == 'mp3') {

Flash Fallback Not Working with IE7 on Windows XP SP2

自闭症网瘾萝莉.ら 提交于 2020-01-15 05:28:38
问题 I've been testing a site using MediaElement.JS and have been very impressed thus far. I have tested the Flash fallback support on FF and Safari on Mac. I've also tested it on Windows 7 with IE9 and Google Chrome. Everything works and if the codec cannot load it uses the mp4 version of the video I have with the Flash player. However, upon testing it in IE7, the Flash player does not load. I do not even see any controls for the video and with right-clicking on the element I do not get the

mediaelement.js - How to hide Audio controls?

时光怂恿深爱的人放手 提交于 2020-01-14 14:33:12
问题 I am trying to implement Mediaelement.js into a site for both video and audio, the video is all working great however what I need to do is hide the audio element so it does not show on the page at all and that the MEJS audio control bar isnt visible. Playback for the audio will be handled through a function to play/pause the audio as needed. Ive tried altering the CSS and also changing the audio code to include "hidden=true" currently the audio blocks look like this: <audio id="Audio101"

mediaelement.js - How to hide Audio controls?

梦想与她 提交于 2020-01-14 14:33:11
问题 I am trying to implement Mediaelement.js into a site for both video and audio, the video is all working great however what I need to do is hide the audio element so it does not show on the page at all and that the MEJS audio control bar isnt visible. Playback for the audio will be handled through a function to play/pause the audio as needed. Ive tried altering the CSS and also changing the audio code to include "hidden=true" currently the audio blocks look like this: <audio id="Audio101"

HTML5 video from MVC3 action not working correctly

喜你入骨 提交于 2020-01-13 06:22:10
问题 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

Still trying to stop video from rewinding in mediaelement.js

旧巷老猫 提交于 2020-01-06 05:10:31
问题 I am still having problems with the code not stopping the video from rewinding to the beginning. The code that John posted doesn't seem to be working for me. He said: I believe that the default behavior of the element is to go back to the beginning so you'd just need to override this by listening for the ended event. var player = $('#myvideo').mediaelementplayer(); player.media.addEventListener('ended', function(e) { player.media.setCurrentTime(player.media.duration); }, false); I placed the

what is mode:shim actually doing?

做~自己de王妃 提交于 2020-01-03 15:35:14
问题 what does mode:shim do? i searched this site for a method of forcing flash. the code developer wrote this answer to a question from someone having the exact problem i am facing: MediaElement.js - force Chrome to use flash player? my observation is that modern browsers load an html5 component, then switch to flash, but very confusing on its actual behavior. 回答1: As you said, it will force the flash fallback. in case of modern browsers, the init of html5 video will be overruled by the flash