Giter VIP home page Giter VIP logo

Comments (27)

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

thisanimus avatar thisanimus commented on May 15, 2024

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

thisanimus avatar thisanimus commented on May 15, 2024

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.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

thisanimus avatar thisanimus commented on May 15, 2024

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.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

thisanimus avatar thisanimus commented on May 15, 2024

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.

rafa8626 avatar rafa8626 commented on May 15, 2024

@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.

thisanimus avatar thisanimus commented on May 15, 2024

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.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

thisanimus avatar thisanimus commented on May 15, 2024

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.

rafa8626 avatar rafa8626 commented on May 15, 2024

Oh gotcha. Let me check this other one. The one above worked for me as well

from mediaelement-plugins.

thisanimus avatar thisanimus commented on May 15, 2024

Malformed stream maybe? It's from Verizon, so I would have expected that it would be standards-compliant.

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 15, 2024

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:
screen shot 2017-06-16 at 10 40 56 am
Maybe it's something with the HLS settings that need to be changed. Let me check that

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 15, 2024

In your player configuration, add this:

hls: {
	autoStartLoad: true
}

I think that will solve your issue

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 15, 2024
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.

thisanimus avatar thisanimus commented on May 15, 2024

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.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

thisanimus avatar thisanimus commented on May 15, 2024

Looks good to me. When do you think mejs-new will be merged into the main branch?

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

thisanimus avatar thisanimus commented on May 15, 2024

Great, I'll keep my eyes open for it. Thanks again for all your hard work!

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

rafa8626 avatar rafa8626 commented on May 15, 2024

Just FYI, either you used preload="meta" or preload="auto" or use autoplay attribute, it will work in your scenario

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 15, 2024

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.

tiagommferreira avatar tiagommferreira commented on May 15, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.