Dailymotion Oddity [unrelated to NoScript]

Ask for help about NoScript, no registration needed to post
Mad_Man_Moon
Senior Member
Posts: 79
Joined: Fri Oct 27, 2017 12:02 pm

Dailymotion Oddity [unrelated to NoScript]

Post by Mad_Man_Moon »

Can't seem to get the play button to work ... needed this purely to emphasise that the show had one moment of humour ...

https://www.dailymotion.com/video/x6mkcom

It doesn't report at all the dmleonyc.com domain, but I suspect that's because that will only flare up once the media is engaged.

Anyway, I mean, I got around it by temporarily disabling autoplay, but seemingly can't find the right combo of allowances to get it to work.

It could be that my other, very able 8-), extension is interfering, but as far as I can see the rules are solid there, too.

No need to keep this thread open, but it just seemed like something I'm not seeing as I've not actively done any noscripting for DM as yet.
Last edited by Mad_Man_Moon on Wed Mar 30, 2022 5:36 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Dailymotion Oddity

Post by Giorgio Maone »

Not sure I understand what I must look for.
I opened the link, and as soon as I set both dailymotion.com and dmcdn.com to TRUSTED the video starts playing automatically.
When I fly my mouse pointer over the video area a pause (||) button is available, and if I press it it turns into a play ( > ) button.
Is the latter supposed to be missing in the scenario depicted by your report?
Could you provide more details on how to reproduce it?
Thanks!
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Mad_Man_Moon
Senior Member
Posts: 79
Joined: Fri Oct 27, 2017 12:02 pm

Re: Dailymotion Oddity

Post by Mad_Man_Moon »

Sure, sorry ... this isn't a big deal, but it just irked me a bit that something is clearly getting in the way.

I'll also send you a VERY BRIEF DM (no reply expected) that indicates what my second last paragraph was referring to, but that's not an issue, I don't think as I've checked the rules there.

OK, so setup is:
  • Autoplay disabled globally on FF.
  • Zero noscript settings for dailymotion.
  • Zero conflicting add-ons, but tried with all disabled (apart from VDH) and same thing.
Results will be edited in because of anti-spam. (gallery):
  • This is with nothing allowed.
    Image
  • Both dailymotion.com & dmcdn.net temporarily allowed (cookies deny all) cannot click the 'play' button to start the video.
    Image
  • dm-event.net allowed (or just pebed & webed), still cannot click the 'play' button.
    Image
I wondered if the other thing (DM) needed anything for http://imasdk.googleapis.com. So I allowed that in NS, and tried every combination rule I could think of in the other thing.

As soon as I turn off autoplay for the site, it plays straight away ... however I cannot get it to allow me to click on the play button to play it.

Is this just FF autoplay BS actually blocking the video from playing or is there something I'm missing in my noscript setup here? Perhaps an XSS that isn't alerting? I'm beginning to think it might be the former, as if I allow autoplay I can stop and start the video at will (with everything as per the last image).

If this is the case then I'm super sorry for even mentioning it here ... it just all felt a little like it was something that I should mention was all.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Dailymotion Oddity

Post by barbaz »

Giorgio Maone wrote: Sat Jan 29, 2022 3:29 pm as soon as I set both dailymotion.com and dmcdn.com to TRUSTED the video starts playing automatically.
When I fly my mouse pointer over the video area a pause (||) button is available, and if I press it it turns into a play ( > ) button.
Same here. And this play button works for me.
Mad_Man_Moon wrote: Mon Jan 31, 2022 12:07 pm tried with all disabled (apart from VDH) and same thing.
Can you try with that one disabled as well?
*Always* check the changelogs BEFORE updating that important software!
-
Mad_Man_Moon
Senior Member
Posts: 79
Joined: Fri Oct 27, 2017 12:02 pm

Re: Dailymotion Oddity

Post by Mad_Man_Moon »

Sorry, I'd not come back after this, I'll try to check this soon.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Dailymotion Oddity

Post by therube »

(Since the OP's link is dead, https://www.dailymotion.com/video/x91qyo.)

Autoplay disabled globally on FF.
How do you do that?



(Un-freakin believable.
In about:config, on a numeric entry, if you change a value, the change is not effected until you click the "checkmark".
I.e., clicking outside the field does not set it.
In about:config, on a numeric entry, if you double-click on a numeric entry, the field "lights up", and even if you make no change, you still have to click the checkmark to get rid of the (numeric) dialog box outline.
What a horrid UI. Unbelievable.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.11.1
redwolfe_98
Senior Member
Posts: 71
Joined: Wed Apr 22, 2009 6:27 am
Location: South Carolina, USA

Re: Dailymotion Oddity

Post by redwolfe_98 »

therube wrote: Wed Mar 30, 2022 3:06 pm
Autoplay disabled globally on FF.
How do you do that?
in firefox's "settings"/"privacy and security"/"permissions," there are settings for "autoplay" where you can set "autoplay" to "block audio and video."
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Dailymotion Oddity

Post by therube »

Thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.11.1
Mad_Man_Moon
Senior Member
Posts: 79
Joined: Fri Oct 27, 2017 12:02 pm

Re: Dailymotion Oddity

Post by Mad_Man_Moon »

It should be noted that (as I think I stated previously) if autoplay is enabled it works fine.
barbaz wrote: Mon Jan 31, 2022 4:48 pm Same here. And this play button works for me.
Giorgio Maone wrote: Sat Jan 29, 2022 3:29 pm as soon as I set both dailymotion.com and dmcdn.com to TRUSTED the video starts playing automatically.
When I fly my mouse pointer over the video area a pause (||) button is available, and if I press it it turns into a play ( > ) button.
Also, disabling other extensions including VDH didn't help.
barbaz wrote: Mon Jan 31, 2022 4:48 pm Can you try with that one disabled as well?
Mad_Man_Moon wrote: Mon Jan 31, 2022 12:07 pm tried with all disabled (apart from VDH) and same thing.
This is my about:config for any settings with 'autoplay' in them:

Code: Select all

dom.media.autoplay.autoplay-policy-api	false	
media.autoplay.allow-extension-background-pages	true	
media.autoplay.block-event.enabled	false	
media.autoplay.block-webaudio	true	
media.autoplay.blocking_policy	2	
media.autoplay.default	5	
media.block-autoplay-until-in-foreground	false	
media.geckoview.autoplay.request	false	
media.geckoview.autoplay.request.testing	0	
services.sync.prefs.sync.media.autoplay.default	true
However autoplay and noscript as an intersection point shouldn't be an issue I'm thinking.

Here's the allowed list for dailymotion:

Code: Select all

dailymotion.com
dm-event.net
dmcdn.net
imasdk.googleapis.com
So given all of that, I tried disabled noscript in private windows and it still doesn't trigger there, so this thread can be locked/closed as unrelated, apologies to all.

It's still odd, though ... essentially (as far as my dumb ass can make out) Daily Motion uses the 'play' button to send an AUTOplay request (perhaps something to do with a 'life_cycle.autoplayResolution' node in the XHR JSON maybe?)... so FireFox naturally blocks it each time I click the button.

Perhaps they're just actively looking for, and denying autoplay blockers on DM :evil: ... urls removed for antispam

Code: Select all

18:26:52.985
XHRPOST STRIPPED URL FOR NS AS
[HTTP/1.1 200 OK 24ms]

18:26:56.704
XHRPOST STRIPPED URL FOR NS AS
[HTTP/1.1 200 OK 24ms]

18:26:56.729 Autoplay is only allowed when approved by the user, the site is activated by the user, or media is muted. 2 dmp.theme_neon.55b2bf607e9a051cd968.js:formatted:11647
That dmp js file links to this:

Code: Select all

{
          var i = e.tryMuted;
          Ln.log('Trying with muted = '.concat(i)),
          n.muted = i;
          var r = n.play() || (t ? u('UserActionCaught') : l('Unsupported'));
          r.then(() =>u('Allowed'), p)
        };
And this is whole hunk of pointless based on that:
https://faq.dailymotion.com/hc/en-us/ar ... r-Policies
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Dailymotion Oddity

Post by barbaz »

Mad_Man_Moon wrote: Wed Mar 30, 2022 5:36 pm so this thread can be locked/closed as unrelated, apologies to all.
Ok, done.
*Always* check the changelogs BEFORE updating that important software!
-
Locked