Comments (27)
Can you provide a URL so I can see this issue? I'm currently working on fixing something related to it and might be good to integrate that fix as well
from mediaelement-plugins.
from mediaelement-plugins.
Any updates on this? I finished a major refactor and I wanna test it with your issue to make sure we are all covered.
from mediaelement-plugins.
Sorry for the delay. Here is a test site using the latest release of mejs and mejs-plugins.
http://thisanimus.com/streamtest/demo/
from mediaelement-plugins.
I tried to reproduce it, but it returned a 403. I'm gonna ask you to test the development branch on the MediaElement project and let me know if everything works as you expected on that branch. You won't need the plugin anymore since Chromecast is integrated in the player core on that branch; you will just need to enable it via features using the keyword chromecast
. Let me know your findings, please, so this can go to the next release
from mediaelement-plugins.
http://thisanimus.com/streamtest/demo/
- Found another live stream that seems to be working now.
- Using the dev branch
- Get the following error when initiating the cast:
[ 12.006s] [cast.framework.EventTarget] Handler for isConnectedChanged event failed: TypeError: this.media.originalNode.getSrc is not a function
M @ cast_framework.js:14
from mediaelement-plugins.
Thanks for testing this. I pushed earlier some changes/fixed to the dev branch if you can test this again I'll appreciate it.
from mediaelement-plugins.
Just as an FYI I may end up putting this as a plugin again but with the new approach I took. I'm just waiting for more tests and I'll proceed to do that because the file size increased quite a bit and I'd like to keep it as light as possible
from mediaelement-plugins.
Thanks for your thoughtful approach. It's because of this kind of discipline that MEJS is such a fantastic plugin. The quality of work you devs put into this project is mind-blowing. Keep it up.
from mediaelement-plugins.
@thisanimus OK I have 2 new branches (one for the player and one for the plugins) named the same: mejs-new
. Please test them using the following configuration for your scenario INCLUDING chromecast.min.js and chromecast.min.css:
new MediaElementPlayer('player1', {
// This is needed to make Jump Forward to work correctly
autoRewind: false,
castIsLive: true,
features: ['playpause', 'current', 'progress', 'duration', 'speed', 'volume', 'chromecast']
});
These new branches had addressed many issues in terms of integrating properly Chromecast and achieved the dual-nature of Chromecast and MediaElement. Let me know your findings and thanks again for testing this
from mediaelement-plugins.
http://thisanimus.com/streamtest/demo
Using mejs-new and mejs-new-plugins the .m3u8 won't play in-browser, it throws the following error:
mediaelement-and-player.min.js:12 hlsError
Object {type: "mediaError", parent: "main", details: "bufferAppendError", fatal: false}
details
:
"bufferAppendError"
fatal
:
false
parent
:
"main"
type
:
"mediaError"
__proto__
:
Object
constructor
:
function Object()
hasOwnProperty
:
function hasOwnProperty()
isPrototypeOf
:
function isPrototypeOf()
propertyIsEnumerable
:
function propertyIsEnumerable()
toLocaleString
:
function toLocaleString()
toString
:
function toString()
valueOf
:
function valueOf()
__defineGetter__
:
function __defineGetter__()
__defineSetter__
:
function __defineSetter__()
__lookupGetter__
:
function __lookupGetter__()
__lookupSetter__
:
function __lookupSetter__()
get __proto__
:
function __proto__()
set __proto__
:
function __proto__()
u @ mediaelement-and-player.min.js:12
i.emit @ hls.min.js:1
s.trigger @ hls.min.js:5
value @ hls.min.js:2
value @ hls.min.js:2
value @ hls.min.js:5
value @ hls.min.js:5
i.emit @ hls.min.js:1
s.trigger @ hls.min.js:5
value @ hls.min.js:3
value @ hls.min.js:5
value @ hls.min.js:5
i.emit @ hls.min.js:1
s.trigger @ hls.min.js:5
value @ hls.min.js:4
from mediaelement-plugins.
Interesting I tested the same page you sent me last night with both branches. Let me take a pick again and I'll let you know
from mediaelement-plugins.
This .m3u8 works:http://109.68.190.192:1935/WEB_Smilik/Smilik.stream/playlist.m3u8
This one throws the above error: https://content.uplynk.com/channel/bd25cb880ed84b4db3061b9ad16b5a3c.m3u8
from mediaelement-plugins.
Oh gotcha. Let me check this other one. The one above worked for me as well
from mediaelement-plugins.
Malformed stream maybe? It's from Verizon, so I would have expected that it would be standards-compliant.
from mediaelement-plugins.
It's very likely. But here's the thing: I checked this on the HLS.js website and this is the only thing I see:
Maybe it's something with the HLS settings that need to be changed. Let me check that
from mediaelement-plugins.
In your player configuration, add this:
hls: {
autoStartLoad: true
}
I think that will solve your issue
from mediaelement-plugins.
new MediaElementPlayer('player1', {
// This is needed to make Jump Forward to work correctly
autoRewind: false,
castIsLive: true,
hls: {
autoStartLoad: true
},
features: ['playpause', 'current', 'progress', 'duration', 'speed', 'volume', 'chromecast']
});
from mediaelement-plugins.
No dice on the hls config, however setting preload="metadata" on the video tag makes it work. And the chrome cast works as well.
from mediaelement-plugins.
Interesting. I'll explore some more about this scenario. I really appreciate your testing. Is there anything else that needs to be added to this ticket, or can be closed?
from mediaelement-plugins.
Looks good to me. When do you think mejs-new will be merged into the main branch?
from mediaelement-plugins.
I just need to fix part of the behavior when using React, because there is a big issue using the plugin in combination with React, but I'll take a look at that today. Potentially, next week I'll release these changes on both branches
from mediaelement-plugins.
Great, I'll keep my eyes open for it. Thanks again for all your hard work!
from mediaelement-plugins.
You are welcome. I just want this player to be the best one; and with people like you testing, we only make it greater. I still don't know how to make it more popular (compared to VideoJS), but maybe its more about the website than the functionality of both
from mediaelement-plugins.
Just FYI, either you used preload="meta"
or preload="auto"
or use autoplay
attribute, it will work in your scenario
from mediaelement-plugins.
Just FYI, the new code is now on master branch. It will be officially released once I address one thing with ReactJS
from mediaelement-plugins.
@rafa8626 Comming back on this thread, I have an error, that when I'm playing certain HLS videos/live-feeds, I get the following error: Unknown error: session_error
Here's an HLS URL that works: http://www.streambox.fr/playlists/x36xhzz/x36xhzz.m3u8
And one that does not: https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8
I tried with the configs in this thread, but same problem :/
from mediaelement-plugins.
Related Issues (20)
- mediaelementjs marker plugins not working with youtube link or embed HOT 1
- how do i add a subtitle in a11y plugin HOT 1
- Picture-in-Picture plugin isn't build like other plugins ? HOT 1
- Add audio track switcher HOT 1
- Picture-in-Picture don't work when Player is load m3u8 LiveBroadcast
- Quality plugin plays mp4 first by default (2nd <source>) and only switches source once. HOT 2
- Error on building Player using playlist plugin on safari
- Quality switch doesn't work with m3u8 file HOT 1
- Audio description in a11y not working for external YouTube videos
- End behavior differs depending on during-play action
- Broken Controls display
- Timeslider disappearing with individual settings
- Audio file storage
- mediaelement Web site problems HOT 1
- Help in Ads plugin to run on specific event HOT 10
- Player SBS, TaB (3D) to anaglyph or VR
- Playlist plugin fails at the end of playlist run
- Playlist fails to play next audio after first ends HOT 1
- Change color of audio player
- HLS Quality Selection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediaelement-plugins.