Vimeo videos won't play on Basilisk

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

User avatar
movhen
New to the forum
New to the forum
Posts: 1
Joined: 2023-04-13, 12:09

Vimeo videos won't play on Basilisk

Unread post by movhen » 2023-04-13, 12:13

Everything worked fine until a few days ago, but now Vimeo videos won't work, not even embedded videos.
There's just a white page instead of Vimeo player: https://prnt.sc/fLFrtpwQZWjE

An example: https://player.vimeo.com/video/816919514

User avatar
Shadow
Apollo supporter
Apollo supporter
Posts: 39
Joined: 2023-03-16, 13:21

Re: Vimeo videos won't play on Basilisk

Unread post by Shadow » 2023-04-14, 10:26

This adds up "VimeoPlayer - v4.23.8 - 2023-04-13"

https://f.vimeocdn.com/p/4.23.8/js/player.js

Code: Select all

unreachable code after return statement
816919514:203:12
SyntaxError: import declarations may only appear at top level of a module
816919514:222:8
SyntaxError: import declarations may only appear at top level of a module
816919514:250:8
SyntaxError: expected expression, got keyword 'import' 
player.js:10:663899
ReferenceError: VimeoPlayer is not defined
816919514:189:21

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 317
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets
Contact:

Re: Vimeo videos won't play on Basilisk

Unread post by Basilisk-Dev » 2023-04-14, 14:03

Looks like Vimeo recently changed their site to do dynamic module imports. This is something we don't necessarily have control over on our end.

Work is being done to support this in UXP #1691.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
Otto 6
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: 2020-10-09, 10:54
Location: Argentina

Re: Vimeo videos won't play on Basilisk

Unread post by Otto 6 » 2023-06-25, 12:01

Works fine here... and by the way, I just clicked on the link and it says "Sorry. This video does not exist".

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

Re: Vimeo videos won't play on Basilisk

Unread post by Moonchild » 2023-06-25, 12:23

The risk of necro-posting.... :)
2 months later we now have dynamic module imports.
"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
Shadow
Apollo supporter
Apollo supporter
Posts: 39
Joined: 2023-03-16, 13:21

Re: Vimeo videos won't play on Basilisk

Unread post by Shadow » 2023-06-25, 14:37

Off-topic:
Sort of off-topic but not really. Vimeo still has the problem of "this video isn't rated" so must login to play it. Who thought that was a good idea? Changing the URL structure to include player and video like in the first post bypasses it.

Also the useragent override doesn't seem necessary anymore.

Locked