Page 1 of 1

Can't play video in Basilisk

Posted: 2017-12-24, 14:01
by maharadga
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.

Re: Can't play video in Basilisk

Posted: 2017-12-24, 18:51
by Isengrim
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.

Re: Can't play video in Basilisk

Posted: 2017-12-25, 00:14
by Thehandyman1957
Plays just fine for me. PM 27.6.2 with Ublock, Disconnect and ABL W7 64bit ;)

Re: Can't play video in Basilisk

Posted: 2017-12-25, 07:06
by GMforker
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

Re: Can't play video in Basilisk

Posted: 2017-12-25, 08:04
by maharadga
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.

Re: Can't play video in Basilisk

Posted: 2017-12-25, 09:50
by satrow
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.

Re: Can't play video in Basilisk

Posted: 2017-12-25, 11:06
by Moonchild
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)

Re: Can't play video in Basilisk

Posted: 2017-12-28, 14:52
by maharadga
Thank you, Moonchild!
All that you says is right. I do it and everything is okay.
Thank you much!