![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Oct 2015
Posts: 560
|
![]() 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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Affiliate
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
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??
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Affiliate
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jun 2015
Location: NL
Posts: 358
|
Some 3rd party cdn sites can offer mobile compatibility options i guess
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
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 |