Dailymotion Raw Html5 Player

Replaces dailymotion's flash player with html5

< Feedback on Dailymotion Raw Html5 Player

Question/comment

Deleted user 128
§
Posted: 2017-07-22
Edited: 2017-09-02

Unable to download latest version 3.7 [SOLVED]

Download Error

Error downloading URL:
https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.11/hls.min.js

Unknown error.
---

Is this only me?

ColomboAuthor
§
Posted: 2017-07-22

Weird, maybe the download failed.
Try to uninstall/reinstall the script again.

Deleted user 128
§
Posted: 2017-07-22
Edited: 2017-07-22

Colombo, this is what I just did:

1- Tried again to install 3.7 (over 3.6) -> failed (with same error notification);
2- Backed-up my FF profile, uninstalled ver. 3.6
3- Tried to clean install 3.7 -> failed (with same error notification);
4- Tried to clean install 3.6 -> failed (with same error notification);
5- Restored FF backed-up profile with 3.6

I have no idea of what's going on. Could be an issue with Cloudflare together with updated security blocklists (updated every day). I had a quick look before my first post which showed no blocking, i'll investigate further on and let you know if I discover the culprit is on my side.

ColomboAuthor
§
Posted: 2017-07-22
Deleted user 128
§
Posted: 2017-07-22
Edited: 2017-07-22

https://raw.githubusercontent.com/video-dev/hls.js/master/dist/hls.min.js
opens the script in a new tab here -> it was downloaded, I guess that was your concern. Yep, downloaded correctly ...

The 'Install this script' at https://greasyfork.org/en/scripts/18056-dailymotion-raw-html5-player:

https://greasyfork.org/scripts/18056-dailymotion-raw-html5-player/code/Dailymotion%20Raw%20Html5%20Player.user.js
installs itself via greasyfork, obviously which blocks when downloading hls.min.js from Cloudflare, yet I downloaded the script with your link ...

This is all I can say at this time from a non-techie perspective, moreover here on my system.

The culprit seems to be between greasyfork.org and cdnjs.cloudflare.com

What I don't understand as well is that version 3.6 which I had installed when made available is now as problematic to download as 3.7 ...

Deleted user 128
§
Posted: 2017-07-22
Edited: 2017-07-22

I've just tried the following:

- I've downloaded manualy (Save link to) https://greasyfork.org/scripts/18056-dailymotion-raw-html5-player/code/Dailymotion%20Raw%20Html5%20Player.user.js

That's your Dailymotion Raw Html5 Player ver. 3.7
In that script I see:
// @require https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.11/hls.min.js

- I've downloaded 'manually' this https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.11/hls.min.js:
PROBLEM : does not download (unknown error occurred)

- I see in the 3.6 version (the one installed here:
// @require https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.10/hls.min.js

- I've downloaded 'manually' this https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.10/hls.min.js:
SAME PROBLEM : does not download (unknown error occurred)

As you've already understood it, the download problem comes from cdnjs.cloudflare.com which does not deliver anymore hls.js/0.7.10/hls.min.js from ver. 3.6 no more than it delivers hls.js/0.7.11/hls.min.js from ver. 3.7

It's a Cloudflare issue! Yeah.

ColomboAuthor
§
Posted: 2017-07-23

Even if you browse to it you can't see them ? https://cdnjs.com/libraries/hls.js
It works on my computers.

Deleted user 128
§
Posted: 2017-07-23

I'm afraid I don't understand very well.

What I know because I've experienced is this, as I've mentioned above:

1- I cannot download https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.10/hls.min.js
2- I cannot download https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.11/hls.min.js
3- I can download https://raw.githubusercontent.com/video-dev/hls.js/master/dist/hls.min.js

Concerning this new link, https://cdnjs.com/libraries/hls.js : yes, it opens the page correctly.

In Dailymotion Raw Html5 Player version 3.7,
if you replace
// @require https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.7.11/hls.min.js
by
// @require https://raw.githubusercontent.com/video-dev/hls.js/master/dist/hls.min.js
THEN no problem.

It's only cdnjs.cloudflare.com which refuses to deliver hls.min.js
Why not just forget Cloudflare, then?

ColomboAuthor
§
Posted: 2017-07-23

cloudflare provides versioned files, with github it's only the latest version which may create bugs if ever I stop updating the script.
And the git path never changes, once installed greasemonkey won't update it (though maybe I can add something like ?ver=0711 at the end of the url).

Deleted user 128
§
Posted: 2017-07-23
Edited: 2017-07-23

OK I get it. Tough challenge now that Cloudflare is problematic. Another CDN then? But which one? Don't hesitate to ask me to test, that's the less I can do.

For what's it worth, maybe you could just remove the HLS option. I know I don't use it, not sure many do. That would solve the CDN issue of course.

ColomboAuthor
§
Posted: 2017-09-01

Hello, do you still have a problem with cloudflare ?
Btw HLS is always used with auto quality or on livestreams so maybe you're using it without knowing it.

Deleted user 128
§
Posted: 2017-09-01

Hello Colombo!

I just tried right now to download the script, still unsuccessfully.

Anyway I have to confess that I don't use your great script, not because I cannot download it anymore (I could copy / paste it) but simply because I just don't visit DailyMotion anymore since it changed to become lousy, really lousy.

About HLS : no, I had disabled it from the script's menu. I have a fast connection and I noticed no difference in video rendering, HLS on or off.

If DailyMotion ever happens to recover from its disease then I'll be most happy to apply your script, but for now I avoid DM, place has become a pain.

ColomboAuthor
§
Posted: 2017-09-01

I mean even if you disable the option it still use hls anyway when auto quality is selected or on lives because there's no other choice.

Ok I understand, I've found another cdn does it works with it ?
https://cdn.jsdelivr.net/npm/hls.js@0.8.1

Deleted user 128
§
Posted: 2017-09-01
Edited: 2017-09-01

The download is still performed from Cloudflare ...
It's Cloudflare that's blocking the download, not me.

ColomboAuthor
§
Posted: 2017-09-01

Changed now.

Deleted user 128
§
Posted: 2017-09-01
Edited: 2017-09-01

Unable as well to download https://cdn.jsdelivr.net/npm/hls.js@0.8.1

Just for the sake of being sure it's not a general download failure between me and greasyfork, I've tested downloading another script at https://greasyfork.org/en/scripts/4882-adsbypasserlite : no problem.

Of course it's only
// @require https://cdn.jsdelivr.net/npm/hls.js@0.8.1
which is problematic.

Just remove the HLS component and all will be fine. It's your script, I know. But frankly it runs as well without the HLS option, IMO of course.

ColomboAuthor
§
Posted: 2017-09-02

lol no I can't remove hls because there is at least one person using it... me.
AdsBypasser is not "requiring" anything but this one for example should not work either : https://greasyfork.org/en/scripts/27031-github-pr-status-style
Anyway I guess it's a waterfox x greasemonkey bug with the @require command, not something I can fix.
Thank you for your help.

Deleted user 128
§
Posted: 2017-09-02

Indeed the 'Github PR Status Style' requiring a script and a css from cdnjs.cloudflare.com doesn't download from here as well. Yet downloads are ok for other users => it's likely to be a browser and/or my configuration specific issue. I'll investigate on that and let you know, Colombo.

I exaggerated when I imagined simply removing the HLS component : it's pertinent and part of the identity you intend to give to the script. My approach was radical and that's not how things progress.

Finally, the script remains excellent and a download issue related to a specific scheme. I'll dig and let you know.

Deleted user 128
§
Posted: 2017-09-02

@Colombo I've just replaced GreaseMonkey by TamperMonkey and was able to download your script flawlessly ...

ColomboAuthor
§
Posted: 2017-09-02

Good to know !
It may be something to report to greasemonkey team if you want it to be fixed (or not).

Deleted user 128
§
Posted: 2017-09-02
Edited: 2017-09-02

Now that I've tested TamperMonkey no doubt I'll keep it. Should I return to GreaseMonkey (sounds like a love story -- except for the "tested"!) that I'd bring up the issue. A rather egocentric attitude I could avoid if I was more involved in computing.

I just feel sorry for having made you loose your time on this issue. Look at the length of this thread, all dedicated to a non-problem, unless to consider GreaseMonkey in this scheme is a problem by itself.

The "funniest" thing is that I haven't installed TamperMonkey to confront it to my issue with downloading your script, but for several other reasons. I never -- but never -- could have ever imagined GreaseMonkey -- a script manager --having an incidence on the very download of a script, I couldn't have "conceptualized" that. But once TamperMonkey installed, and remembering that you and others could download your script flawlessly, an angel waked up a brain cell and suddenly I asked myself : "Hey, why not try downloading again Colombo's script?".

The end of the story, you know it :)

Post reply

Sign in to post a reply.