Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-18-2016, 10:58 AM   #1
NakedWomenTime
Confirmed User
 
NakedWomenTime's Avatar
 
Industry Role:
Join Date: Oct 2015
Posts: 560
Coding Experts - How to Best Detect Device and Serve Video Stream Accordingly

Hi Guys

A question for the coding experts ...

Please take a look at an example of one of my pages, which uses a Live Video Feed from Live Jasmin.

My pages are currently mobile optimised (was that a good decision??), so the video stream is 300px wide to fit on mobile screens (in portrait).

Since speaking to some camgirls, I have been made aware that most (paying) customers are on desktops (would you agree?).

So, what is the best technique to sense whether it's a mobile or desktop visitor and serve a larger video size for desktop if applicable?

Thanks
NakedWomenTime is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2016, 11:30 AM   #2
PornAffiliate
Affiliate
 
PornAffiliate's Avatar
 
Industry Role:
Join Date: Feb 2008
Posts: 241
I dont know, but for instance Chaturbate has not even been available on mobile for a long time and that really says you are right about that.

You can use "@media queries" in css to make your sites responsive and work good both on mobile and pc as well as on tablets.
__________________
Porn Affiliate Programs - The Best Affiliate Programs & Some Webmaster Resources Like Free WP Themes.
PornAffiliate is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2016, 12:48 PM   #3
NakedWomenTime
Confirmed User
 
NakedWomenTime's Avatar
 
Industry Role:
Join Date: Oct 2015
Posts: 560
Thanks for your reply. That's the thing, I know how to use @media queries for CSS layout styling, but here I have to load in a different php include depending on user screen size. I'm not sure whether that can be done with @media queries or how??
NakedWomenTime is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2016, 01:06 PM   #4
PornAffiliate
Affiliate
 
PornAffiliate's Avatar
 
Industry Role:
Join Date: Feb 2008
Posts: 241
Alright, well you could load both in two different divs and only display the one that's right for the screen.

That's an easy solution, I really don't know how much it would affect performance.
__________________
Porn Affiliate Programs - The Best Affiliate Programs & Some Webmaster Resources Like Free WP Themes.
PornAffiliate is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2016, 01:20 PM   #5
NakedWomenTime
Confirmed User
 
NakedWomenTime's Avatar
 
Industry Role:
Join Date: Oct 2015
Posts: 560
Thanks for the suggestion. I guess that could work because if a particular div is not displayed, then I guess it would not be trying to load data ... I will have to check that. Thanks.
NakedWomenTime is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-24-2016, 11:46 PM   #6
symtab
Confirmed User
 
Join Date: Nov 2009
Posts: 415
Use media queries in css to make the player resize automatically depending on the visitor resolution. Also if you want to serve different video(s) you can use https://github.com/serbanghita/Mobile-Detect to detect what kind of device the visitor is using.
__________________
Adult Scripts: Adult Script Pro 3.4.0 - Adult Search Script 3.8.0
Adult Traffic: Plug Rush - ExoClick
symtab is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-26-2016, 09:19 PM   #7
vintageadult
Confirmed User
 
Industry Role:
Join Date: Jun 2015
Location: NL
Posts: 358
Some 3rd party cdn sites can offer mobile compatibility options i guess
vintageadult is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
video, mobile, pages, live, coding, serve, stream, experts, desktop, size, speaking, camgirls, aware, applicable, paying, technique, sense, visitor, agree, portrait, customers, desktops, larger, question, guys
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.