pornhub videos not playing anymore after pm update Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
xlolitadabananax
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2022-12-03, 13:18

pornhub videos not playing anymore after pm update

Unread post by xlolitadabananax » 2022-12-03, 13:26

win8 x64 palemoon latest x64

on one of the latest versions of palemoon update, "pornhub videos were killed".

no more possibility to play any of them.

I get "no valid sources are available for this video"
& it works on google chrome as usual, naturally for the same link :|

User avatar
andyprough
Astronaut
Astronaut
Posts: 688
Joined: 2020-05-31, 04:33

Re: pornhub videos not playing anymore after pm update

Unread post by andyprough » 2022-12-03, 14:35

Off-topic:
Once again, Pale Moon is violating people's basic human right to access unlimited amounts of free pR0n. We need a Congressional investigation to get to the bottom of this. :coffee:

Also -
Malware spread through PornHub
One of the most popular porn sites in the world was serving malware through ads to millions of its users.
https://www.kaspersky.com/blog/pornhub- ... ing/19698/

BenFenner
Astronaut
Astronaut
Posts: 588
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: pornhub videos not playing anymore after pm update

Unread post by BenFenner » 2022-12-03, 14:42

Give us a known bad link next time, please.

Picking one at random, I can confirm it's not working for me either.
https://www.pornhub.com/view_video.php? ... 0926684943

Console errors:

Code: Select all

<source> element has no “src” attribute. Media resource load failed.           view_video.php
All candidate resources failed to load. Media load paused.                     view_video.php
<source> element has no “src” attribute. Media resource load failed.           view_video.php
All candidate resources failed to load. Media load paused.                     view_video.php
<source> element has no “src” attribute. Media resource load failed.           view_video.php
All candidate resources failed to load. Media load paused.                     view_video.php
<source> element has no “src” attribute. Media resource load failed.           view_video.php
All candidate resources failed to load. Media load paused.                     view_video.php
All candidate resources failed to load. Media load paused.                     view_video.php
The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it.    log
The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it.    log
The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it.    log
Cannot play media. No decoders for requested formats: video/webm; codecs="vp8 vorbis"    view_video.php
The final error above seems the most relevant?

In the mean time, give RedTube or YouPorn or PornTube a try and maybe PornHub will get back on track soon?

Off-topic:
Counterpoint regarding porn sites and malware: https://it.slashdot.org/story/10/06/30/ ... porn-sites

User avatar
Al6bus
Lunatic
Lunatic
Posts: 288
Joined: 2015-08-24, 14:55
Location: Lemberg

Re: pornhub videos not playing anymore after pm update

Unread post by Al6bus » 2022-12-03, 14:58

andyprough wrote:
2022-12-03, 14:35
Off-topic:
Also -
Malware spread through PornHub
One of the most popular porn sites in the world was serving malware through ads to millions of its users.
https://www.kaspersky.com/blog/pornhub- ... ing/19698/
Off-topic:
Kaspersky itself is like a malware
Windows 7 Pro x64 - Pale Moon x64
We hope for multiprocessing

User avatar
andyprough
Astronaut
Astronaut
Posts: 688
Joined: 2020-05-31, 04:33

Re: pornhub videos not playing anymore after pm update

Unread post by andyprough » 2022-12-03, 15:07

Off-topic:
BenFenner wrote:
2022-12-03, 14:42
Counterpoint regarding porn sites and malware: https://it.slashdot.org/story/10/06/30/ ... porn-sites
That's not a good reason to trust the site that has actually been caught spreading huge batches of malware. How about we do a study of "sites that have been caught spreading huge batches of malware vs sites that have not". I'll bet the finding might come out less favorable to pR0nhub.

User avatar
andyprough
Astronaut
Astronaut
Posts: 688
Joined: 2020-05-31, 04:33

Re: pornhub videos not playing anymore after pm update

Unread post by andyprough » 2022-12-03, 15:09

Off-topic:
Al6bus wrote:
2022-12-03, 14:58
Kaspersky itself is like a malware
Good point. You could put anything with "Norton" in its name in that same category. Doesn't change the fact that this particular site is known to spread malware.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: pornhub videos not playing anymore after pm update

Unread post by Moonchild » 2022-12-03, 15:12

Code: Select all

Cannot play media. No decoders for requested formats: video/webm; codecs="vp8 vorbis"    view_video.php
The codecs= parameter is malformed (website error).
multiple codecs need to be separated by a comma.

Code: Select all

video/webm;codecs="vp8,vorbis"
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
xlolitadabananax
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2022-12-03, 13:18

Re: pornhub videos not playing anymore after pm update

Unread post by xlolitadabananax » 2022-12-03, 17:59

Hi moonchild,

so if chrome works well for such website & others, it's because it grabs the codec info in a random order, regardless of the presence of ",".
it could be an empty space.. if this way of grabbing codec infos could be added to the palemoon code, it would help, cause none of us will change
the way all coders present the infos.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: pornhub videos not playing anymore after pm update

Unread post by Moonchild » 2022-12-03, 18:33

xlolitadabananax wrote:
2022-12-03, 17:59
if this way of grabbing codec infos could be added to the palemoon code, it would help, cause none of us will change
the way all coders present the infos.
Sorry but no. It's not according to the spec to use a space. Pornhub made a mistake, it's not our task to correct it for them. Allowing a psace as a separator also conflicts with codec names that would have a space in their name. You can't have both. a comma is specified, so a comma should be used. Send pornhub a message, please.
Taking the "parse everything at all costs" approach is a very slippery slope and the reason for a ton of bad code existing out there. (hey, tomorrow some other site decides to not use a space but a tab. or a dash. or a non-breaking space, or... get my drift?)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
sidology
Moon lover
Moon lover
Posts: 79
Joined: 2021-12-04, 22:07

Re: pornhub videos not playing anymore after pm update

Unread post by sidology » 2022-12-03, 18:57

Same issue happened here (that .com domain is dead, but.org still works).

I sent mails to biqle, but they just don't care. They probably don't think it's a mistake, because it works in Chrome.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: pornhub videos not playing anymore after pm update

Unread post by Moonchild » 2022-12-03, 19:07

sidology wrote:
2022-12-03, 18:57
They probably don't think it's a mistake, because it works in Chrome.
And there you have the crux of the Google monoculture. :coffee:
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
xlolitadabananax
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2022-12-03, 13:18

Re: pornhub videos not playing anymore after pm update

Unread post by xlolitadabananax » 2022-12-03, 22:48

It's not sideology moonchild.. it's the website author who could tell us, "i don't care if it works in chrome & other browsers".
which makes palemoon a browser that faces such issues & cannot be used when stuborn webcoders refuse to update their site.
i believe a javascript code could allow palemoon to grab any codec name from a list, regardless of dots, spaces, comas etc.
if it's too much to ask, then we'll be facing the possibility to be rejected by stupid webcoders that believe if it works in other
browsers, then why should they bother .. .

BenFenner
Astronaut
Astronaut
Posts: 588
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: pornhub videos not playing anymore after pm update

Unread post by BenFenner » 2022-12-03, 23:09

I like the staunch adherence to web standards. If that's how things go, then I'm all for it.

However, the software developer in me is wondering if there is a viable compromise.

Mainly, parse the string and if any commas are found, then treat it as comma-delimited. If no commas are found and no matching codec is found when treating the space as the standards dictate, then fallback to an attempt at space-delimited parsing and use the codec if found. If there is some ambiguous situation otherwise, then fail with error stating the string was ambiguous.

This is obviously not strictly to standard, but it suffers the user less and only fails in the ambiguous case you were worried about to begin with?

But I do completely understand if this is not desired. I do like to design my web sites using Pale Moon knowing that if I've addressed all errors Pale Moon issues, then I can be quite confident I've done things properly in that regard. I would not love it if Pale Moon smoothed over non-standard code for me. So, to that end, maybe issue a warning (versus an error) in the console about the syntax error and assumptions made. That would still give me the information I need to fix the problem, while also giving users more functioning sites?

User avatar
xlolitadabananax
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2022-12-03, 13:18

Re: pornhub videos not playing anymore after pm update

Unread post by xlolitadabananax » 2022-12-04, 01:28

I knew this was gonna happen moonchild..

pornhub's reply to the codec issue you've mentioned above that i passed to them:

Hi,

If you are still having issues, please let me know if you have done the following:


1. Turned off adblocker if you are using it and re-loaded the page
2. Tried from another web browser
3. Cleared your cache
4. Tried from a different device (Computer, mobile, tablet, etc.)

they're stupidly ignoring the coma issue .. . & proposing me to try another browser if it works.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: pornhub videos not playing anymore after pm update

Unread post by Moonchild » 2022-12-04, 01:28

xlolitadabananax wrote:
2022-12-03, 22:48
it's the website author who could tell us, "i don't care if it works in chrome & other browsers".
And you could say "fine, I'll get my porn elsewhere and you lose a customer"
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: pornhub videos not playing anymore after pm update

Unread post by Moonchild » 2022-12-04, 01:30

xlolitadabananax wrote:
2022-12-04, 01:28
pornhub's reply to the codec issue you've mentioned above that i passed to them:
Typical form reply. You'll find that in 2022, you have to wade through chat bots and form replies before you actually get someone who is reading what you write. You'll have to be persistent and not give up at the first automated response.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
xlolitadabananax
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2022-12-03, 13:18

Re: pornhub videos not playing anymore after pm update

Unread post by xlolitadabananax » 2022-12-04, 01:40

ok thanks, let's hope they get the point ((

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: pornhub videos not playing anymore after pm update

Unread post by Moonchild » 2022-12-04, 12:56

If they want "official/compelling" documentation, you can also point them to https://developer.mozilla.org/en-US/doc ... meter#webm
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

BenFenner
Astronaut
Astronaut
Posts: 588
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: pornhub videos not playing anymore after pm update

Unread post by BenFenner » 2022-12-04, 14:03

BenFenner wrote:
2022-12-03, 23:09
However, the software developer in me is wondering if there is a viable compromise.
Or possibly put the "creative parsing" behind a feature flag in about:config that is disabled by default?
Given infinite resources and developer time of course...

I'll stop musing.

Carry on.

(Excellent doc source posted above. Hopefully they see the light.)

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2021-01-26, 11:18

Re: pornhub videos not playing anymore after pm update

Unread post by Kris_88 » 2023-01-27, 07:24

Actually, the problem is not in the codecs, but in the fact that Pornhub uses webcomponents.
In the about:config page set:
"dom.webcomponents.enabled" = "false"
"general.useragent.override.pornhub.com" = "Mozilla/5.0 (%OS_SLICE% rv:54.0) Gecko/20100101 Firefox/54.0"
Then it will work.

Locked