FAQ  •  Register  •  Login

Flowplayer logo MB

<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Thu Aug 29, 2013 4:24 pm

Flowplayer logo MB

I've setup a apache reverse proxy to sit in front of my webserver and serviio. It forces SSL connections so I get urls such as https://mydomain.com/mediabrowser

This works fine, however when I play a movie, I have the massive flowplayer logo at the bottom of the screen
Image

Is there a work around for this?
Last edited by spudy12 on Thu Aug 29, 2013 6:17 pm, edited 1 time in total.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Thu Aug 29, 2013 4:44 pm

Re: Flowplayer logo MB

Not much help, but from the 1.3 Beta 2 thread viewtopic.php?f=8&t=10752

MediaBrowser now includes FlowPlayer without the watermark. For that to work I had to add some code that checks your current MB domain name/IP and generate a license key based on that (it all happens in the background). So I'd like to test this properly, especially people who are using some URL rewrites or reverse-proxy models for their MB deployment.


I don't remember anyone saying they had a problem with it , so maybe your setup is different. You could edit the JS to resolve to your domain.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Sat Aug 31, 2013 11:03 am

Re: Flowplayer logo MB

How can I edit the JS to resolve my domain?

I've tested and this happens both with forced SSL and no ssl but using the apache2 ProxyPass and ProxyPassReverse
<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Mon Sep 09, 2013 2:19 pm

Re: Flowplayer logo MB

Any help on this at all?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Sep 09, 2013 7:14 pm

Re: Flowplayer logo MB

If you open Crome dev tools / Firebug, you should see a request to the server to

  Code:
/fp


What are the request headers the browser uses?

Serviio will try to match the HOST header of the request, generate a key for the subdomain and use the key with FP to hide the logo. The browser's URL bar has to math the header sent via the request, so if there is some rewrite going on (e.g. domain -> IP), it might not work.
<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Mon Sep 09, 2013 10:27 pm

Re: Flowplayer logo MB

I don't see any that start with /fp but there is one called fp?authToken=53401568b7d84fe7a4d3fdfb355438cd
/cds



This is the header information for the reverse proxied access (with flo player logo)

Request Header
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:HFS_SID=0.321643231669441; mod_rss_top=normal
Host:mydomain.com
Referer:http://mydomain.com/mediabrowser/
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
X-Requested-With:XMLHttpRequest
Query String Parametersview sourceview URL encoded
authToken:7634e8f9c9db4c7cab3aa7490e7781fa
Response Headersview source
Cache-Control:no-cache
Connection:Keep-Alive
Content-Encoding:gzip
Content-Type:text/plain; charset=UTF-8
Date:Mon, 09 Sep 2013 22:18:22 GMT
Keep-Alive:timeout=5, max=100
Server:Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.3.1
Transfer-Encoding:chunked
Vary:Accept-Charset,Accept-Encoding,Accept-Language,Accept
Via:1.1 mydomain.com


Here is the header information for the non reverse proxy (no flow player logo)

Request Header
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:HFS_SID=0.321643231669441; mod_rss_top=normal
Host:mydomain.com:23424
Referer:http://mydomain.com:23424/mediabrowser/
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36
X-Requested-With:XMLHttpRequest
Query String Parametersview sourceview URL encoded
authToken:53401568b7d84fe7a4d3fdfb355438cd
Response Headersview source
Cache-Control:no-cache
Connection:close
Content-Encoding:gzip
Content-Type:text/plain; charset=UTF-8
Date:Mon, 09 Sep 2013 22:21:03 GMT
Server:Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.3.1
Transfer-Encoding:chunked
Vary:Accept-Charset, Accept-Encoding, Accept-Language, Accept
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 11, 2013 8:19 pm

Re: Flowplayer logo MB

Can you get the data that gets sent from Apache to Serviio as a part of the proxy process?

You could do it by enabling INFO level of logging for restlet package in log4j.xml like

  Code:
   <category name="org.restlet">
      <priority value="INFO"/>
   </category>


ie change ERROR to INFO, and retart serviio. Then start MB, login and the /fp request should happen and there sholud be a log similar to (only for /fp instead):

  Code:
21:15:57,359 INFO  [LogService] 2013-09-11   21:15:57   127.0.0.1   -   -   23424   GET   /cds/browse/flv_player/0/BrowseDirectChildren/containers/0/0   authToken=b7e5e0ce32f44bcfbbfa8edb942824d0   200   -   0   834   http://localhost:23424   Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36   http://localhost:23424/mediabrowser/
<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Tue Sep 17, 2013 9:41 pm

Re: Flowplayer logo MB

Hi Zip
Only just seen this, Will do this now and post back with results
<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Wed Sep 18, 2013 12:00 am

Re: Flowplayer logo MB

Here is the bit from the log that I could see related to /fp and would be useful. I can attach full log if necessary.

my-ip-address.myqnapcloud.com is the external address it is accessed from that goes through the reverse proxy

2013-09-18 00:44:01,972 DEBUG [LoginServerResource] Successful login, generating security token
2013-09-18 00:44:02,017 WARN [LogFilter] Couldn't find any helper support the HTTP_Serviio challenge scheme.
2013-09-18 00:44:02,017 INFO [LogService] 2013-09-18 00:44:02 127.0.0.1 - - 23424 POST /cds/login - 200 - 0 172 http://localhost:23424 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36 https://my-ip-address.myqnapcloud.com/mediabrowser/
2013-09-18 00:44:02,650 INFO [LogService] 2013-09-18 00:44:02 127.0.0.1 - - 23424 GET /mediabrowser/images/top_nav.jpg - 200 5246 0 5 http://localhost:23424 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36 https://my-ip-address.myqnapcloud.com/mediabrowser/
2013-09-18 00:44:02,653 INFO [LogService] 2013-09-18 00:44:02 127.0.0.1 - - 23424 GET /mediabrowser/images/breadcrumb_arrow.png - 200 169 0 4 http://localhost:23424 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36 https://my-ip-address.myqnapcloud.com/mediabrowser/
2013-09-18 00:44:02,655 INFO [LogService] 2013-09-18 00:44:02 127.0.0.1 - - 23424 GET /cds/fp authToken=ec9082dc4247470d817507e8530f37e1 200 - 0 11 http://localhost:23424 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36 https://my-ip-address.myqnapcloud.com/mediabrowser/
2013-09-18 00:44:02,659 INFO [LogService] 2013-09-18 00:44:02 127.0.0.1 - - 23424 GET /cds/browse/flv_player/0/BrowseDirectChildren/containers/0/0 authToken=ec9082dc4247470d817507e8530f37e1 200 - 0 10 http://localhost:23424 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36 https://my-ip-address.myqnapcloud.com/mediabrowser/
2013-09-18 00:44:02,789 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
<<

spudy12

DLNA master

Posts: 234

Joined: Thu Oct 18, 2012 7:07 pm

Post Fri Sep 20, 2013 3:36 pm

Re: Flowplayer logo MB

What is the helper_support and http_serviio scheme?
Is this causing the problem?
<<

drseussofporn

Serviio newbie

Posts: 2

Joined: Fri Oct 25, 2013 10:23 pm

Post Fri Oct 25, 2013 10:26 pm

Re: Flowplayer logo MB

Replace your localhost entries with your domain (or dynamic DNS). I had this same problem and thanks to this thread it pointed me in the right direction.

(Apologies if this matter was already resolved)
<<

agentdr8

Serviio newbie

Posts: 1

Joined: Thu Jan 02, 2014 10:40 pm

Post Thu Jan 02, 2014 10:43 pm

Re: Flowplayer logo MB

drseussofporn wrote:Replace your localhost entries with your domain (or dynamic DNS). I had this same problem and thanks to this thread it pointed me in the right direction.

(Apologies if this matter was already resolved)


That kind of defeats the purpose of reverse proxying if you send the request back out to your external IP.

I too am having this issue and don't see any requests to /fp in the log file.
<<

drseussofporn

Serviio newbie

Posts: 2

Joined: Fri Oct 25, 2013 10:23 pm

Post Sun Feb 09, 2014 8:31 am

Re: Flowplayer logo MB

agentdr8 wrote:
drseussofporn wrote:Replace your localhost entries with your domain (or dynamic DNS). I had this same problem and thanks to this thread it pointed me in the right direction.

(Apologies if this matter was already resolved)


That kind of defeats the purpose of reverse proxying if you send the request back out to your external IP.

I too am having this issue and don't see any requests to /fp in the log file.


. . . I don't quite follow. I was using the reverse proxy to force SSL connections to my server. Making this change allowed me to force SSL internal and external with no logo appearing.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 66 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.