Can't play video in Basilisk Topic is solved

Forum for discussions around the Basilisk web browser.

Moderator: satrow

maharadga
Newbie
Newbie
Posts: 3
Joined: Sun, 24 Dec 2017, 13:45

Can't play video in Basilisk

Unread postby maharadga » Sun, 24 Dec 2017, 14:01

Hello. I can't play video in pages like this: https://www.vesti.bg/sviat/blizak-iztok ... na-6077577
See grey rectangle only. :wtf:

Why? I search for answers, but can't find.
Probably is something simple, but I don't know what.

User avatar
Isengrim
Lunatic
Lunatic
Posts: 280
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1
Contact:

Re: Can't play video in Basilisk

Unread postby Isengrim » Sun, 24 Dec 2017, 18:51

Do you have any content-blocking add-ons installed, e.g. Adblock Plus, uBlock, uMatrix, or NoScript? If so, try restarting with add-ons disabled and see if anything changes.
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit)

User avatar
Thehandyman1957
Board Warrior
Board Warrior
Posts: 1491
Joined: Tue, 19 May 2015, 02:26
Location: Arizona U.S.

Re: Can't play video in Basilisk

Unread postby Thehandyman1957 » Mon, 25 Dec 2017, 00:14

Plays just fine for me. PM 27.6.2 with Ublock, Disconnect and ABL W7 64bit ;)
"Watch your thoughts; they become words. Watch your words; they become actions. Watch your actions; they become habits. Watch your habits; they become your character. Watch your character; it becomes your destiny."

GMforker
Astronaut
Astronaut
Posts: 523
Joined: Thu, 27 Aug 2015, 06:29
Location: Czech Republic

Re: Can't play video in Basilisk

Unread postby GMforker » Mon, 25 Dec 2017, 07:06

Throws an error in Browser Console:

Code: Select all

TypeError: platform.name is null
jquery.vboxmediaplayer.v4.js:54:7

IMHO:
This server uses: https://github.com/bestiejs/platform.js
and it result: "platform.name = null", because Basilisk ("Basilisk") is not supported.

Also may be used (jquery.vboxmediaplayer.v4.js):

Code: Select all

var is_firefox = String(platform.name).toLowerCase().indexOf('firefox') > -1;

instead of:

Code: Select all

var is_firefox = platform.name.toString().toLowerCase().indexOf('firefox') > -1;

And for Basilisk - about:config (e.g.):

Code: Select all

general.useragent.override.vbox7.com = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.9) Gecko/20100101 Firefox/52.9

maharadga
Newbie
Newbie
Posts: 3
Joined: Sun, 24 Dec 2017, 13:45

Re: Can't play video in Basilisk

Unread postby maharadga » Mon, 25 Dec 2017, 08:04

Thanks for your attention, but I'm not a specialist and all this does not speak to me. If anyone can explain what to do to have a video, I would be very grateful. I use Basilisk because Firefox 57 don't support old extension.

User avatar
satrow
Forum staff
Forum staff
Posts: 1612
Joined: Thu, 08 Sep 2011, 11:27

Re: Can't play video in Basilisk

Unread postby satrow » Mon, 25 Dec 2017, 09:50

Start by supplying the basics so we can get a better idea of what we are dealing with: computer hardware specs, Operating System details, security software.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21429
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Can't play video in Basilisk  Topic is solved

Unread postby Moonchild » Mon, 25 Dec 2017, 11:06

Apparently, vbox7.com (the video provider for that site) uses a media player that does very strict user-agent sniffing. If it's not a "pure" Firefox user agent presented to them, it falls back to what seems to be broken detection code.

Workaround:
  1. In the address bar, type about:config, and press enter
  2. Right-click anywhere in the list, and select New -> String
  3. For the preference name, enter

    Code: Select all

    general.useragent.override.vbox7.com
  4. For the value, enter

    Code: Select all

    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
  5. Reload the page.

This is a workaround only -- the site owners should be contacted to have their browser detection fixed.

(and so it begins again; the never-ending battle against user-agent sniffing with a new browser)
Last edited by Moonchild on Wed, 27 Dec 2017, 19:15, edited 1 time in total.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

maharadga
Newbie
Newbie
Posts: 3
Joined: Sun, 24 Dec 2017, 13:45

Re: Can't play video in Basilisk

Unread postby maharadga » Thu, 28 Dec 2017, 14:52

Thank you, Moonchild!
All that you says is right. I do it and everything is okay.
Thank you much!


Return to “Basilisk”

Who is online

Users browsing this forum: Yandex [Bot] and 1 guest