MozillaZine

Embedded twitter The media could not be played Fix

User Help for Mozilla Firefox
c627627

User avatar
 
Posts: 520
Joined: April 3rd, 2005, 12:58 pm
Location: Kansas

Post Posted December 23rd, 2017, 5:21 pm

What do I need to install to play the example embedded twitter video where it says @elonmusk on this page:
http://money.cnn.com/2017/12/23/technol ... unch-trail
[So not the top video, the Twitter @elonmusk video.]


EDIT.
SOLUTION:

c627627 wrote:Okay guys, change about:config:
security.csp.enable
from true to FALSE to temporarily fix this official Firefox bug that won't be fixed until the next official Fx release.
Last edited by c627627 on December 24th, 2017, 2:22 pm, edited 1 time in total.
Open the pod bay doors, Cortana.

Gingerbread Man

User avatar
 
Posts: 7734
Joined: January 30th, 2007, 10:55 am

Post Posted December 23rd, 2017, 9:46 pm

You don't need to install anything. Click 6:50 PM - 22 Dec 2017 below the tweet text to open it on Twitter. It should play just fine there.

As for embedded tweets not playing, I don't know why that happens. I've seen Chrome and Edge users report the same issue. Browser Console shows some Content Security Policy errors; maybe there's a server misconfiguration or browser bug somewhere.

James
Moderator

User avatar
 
Posts: 27260
Joined: June 18th, 2003, 3:07 pm
Location: Made in Canada

Post Posted December 23rd, 2017, 10:28 pm


c627627

User avatar
 
Posts: 520
Joined: April 3rd, 2005, 12:58 pm
Location: Kansas

Post Posted December 24th, 2017, 12:31 am

Gingerbread Man, yes, but the thread question is embedded, trying to get Firefox to do what other browsers do, play embedded video without opening them separately.
I am looking through the link James posted for the answer, but forgive me if I do not see it, I hope you don't mind if I ask where the answer is in your link James?

Embedded plays fine in other browsers, therefore this is clearly strictly a Firefox limitation. If for whatever reason it cannot be done in Firefox, I would understand, was just hoping to enable it [if it can be enabled], perhaps through an additional installation or through a settings change?
Open the pod bay doors, Cortana.

malliz
Folder@Home

User avatar
 
Posts: 43445
Joined: December 7th, 2002, 4:34 am
Location: Australia

Post Posted December 24th, 2017, 12:54 am

Not working in Edge either so only some "Other browsers" work. Care to share?
What sort of man would put a known criminal in charge of a major branch of government? Apart from, say, the average voter.
"Terry Pratchett"

Gingerbread Man

User avatar
 
Posts: 7734
Joined: January 30th, 2007, 10:55 am

Post Posted December 24th, 2017, 5:32 am

Gingerbread Man wrote:Browser Console shows some Content Security Policy errors; maybe there's a server misconfiguration or browser bug somewhere.

  1. Header Editor.
  2. Either click the Header Editor toolbar button, or click the Options button next to Header Editor in the Add-ons Manager.
  3. Click the circled (+) button in the bottom right.
    • Name: enter something descriptive, like CSP - Twitter
    • Rule type: Modify the response header
    • Match type: URL prefix
    • Exclude rule:
    • Match rules: https://twitter.com/i/videos/tweet/
    • Execute type: Normal
    • Header name: content-security-policy
    • Header value:
  4. Click the icon in the top right to save your new rule.

Luna C

User avatar
 
Posts: 36
Joined: June 9th, 2007, 11:36 am

Post Posted December 24th, 2017, 6:13 am

Gingerbread Man, that doesn't seem to work either.

I've also tried safe-mode and a completely clean profile.

Here's an example page with lots of embedded video tweets, pretty useful to test with:
https://www.indy100.com/article/spacex- ... sk-8126126

c627627

User avatar
 
Posts: 520
Joined: April 3rd, 2005, 12:58 pm
Location: Kansas

Post Posted December 24th, 2017, 11:33 am

Thank you for posting that test link which can easily confirm that Firefox alone displays "The media could not be played" error. I also have a multi boot where I can test this on multiple Operating Systems and multiple browsers to confirm they all can play embedded test videos, but Firefox cannot.

Details:
Both Windows 8 and 10 conform the same behavior.
Chrome and Internet Explorer can play embedded video. Microsoft Edge under Windows 10 *can* play embedded test video, meaning the poster who posted that it could not: if your Edge cannot, it is limited to your system, whereas: no default Firefox on any system can play posted embedded test videos [please correct this if wrong].


If this Firefox limitation is by some sort of design, it would helpful to know, but sometimes / usually there are ways to disable Firefox default behavior so the main question still stands on what's the way to make Firefox play embedded video? Or if it cannot, then why not....
Open the pod bay doors, Cortana.

mightyglydd

User avatar
 
Posts: 9162
Joined: November 4th, 2006, 7:07 pm
Location: Hollywood Ca.

Post Posted December 24th, 2017, 12:36 pm

Image
#KeepFightingMichael

The Tinsmith
 
Posts: 801
Joined: December 24th, 2011, 10:29 am

Post Posted December 24th, 2017, 1:14 pm

so the main question still stands on what's the way to make Firefox play embedded video? Or if it cannot, then why not....



I have the same situation.

My solution is to search for a similar article with a better feed. If I don't find one easliy my soultion to to drop it and say 'to hell with it'. :-)

Vitesse
 
Posts: 1236
Joined: April 21st, 2011, 6:03 pm

Post Posted December 24th, 2017, 1:40 pm

For me, this only started after Firefox 57.0.2 arrived.

Lnwdz
 
Posts: 162
Joined: June 12th, 2012, 7:59 am

Post Posted December 24th, 2017, 1:44 pm


TheVisitor
 
Posts: 4610
Joined: May 13th, 2012, 10:43 am

Post Posted December 24th, 2017, 1:47 pm

I guess I'm not getting it, all those videos play fine here on latest Nightly.. win10 x64

The Tinsmith
 
Posts: 801
Joined: December 24th, 2011, 10:29 am

Post Posted December 24th, 2017, 1:55 pm

TheVisitor wrote:I guess I'm not getting it, all those videos play fine here on latest Nightly.. win10 x64



The links posted here I can play by clicking on the 'sub-link' that was suggested. However I have seen other pages that do not have that link. Next time I see one I will post it here.

Vitesse
 
Posts: 1236
Joined: April 21st, 2011, 6:03 pm

Post Posted December 24th, 2017, 2:06 pm

The Tinsmith wrote:
TheVisitor wrote:I guess I'm not getting it, all those videos play fine here on latest Nightly.. win10 x64



The links posted here I can play by clicking on the 'sub-link' that was suggested. However I have seen other pages that do not have that link. Next time I see one I will post it here.

Here's one: https://order-order.com/2017/12/19/dian ... christmas/

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 10 guests