Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2016, 05:43 PM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Fluid width youtube video modules

Hi,

I am pretty excited to share some additions to my forum. I created step by step instructions on how to create fluid modules for youtube videos using the html static modules and addtional_css. Here's the link: Vbulletin 5 How to create fluid width Video modules Horizonatal Aligned

And here's a screen shot of the video modules:

Reply With Quote
  #2  
Old 03-12-2016, 10:53 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well done sir....

Is there a link where people can see them demonstrated?
Reply With Quote
  #3  
Old 03-12-2016, 08:04 PM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
Well done sir....

Is there a link where people can see them demonstrated?
Yes, here: https://www.christforums.org

Enjoy and thanks for the compliment Demostar!
Reply With Quote
  #4  
Old 03-13-2016, 09:37 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there. . .

They look and act great with the PC. However, have you tried viewing them using your mobile?
I try to view them through Chrome using developer tools and whilst all the other modules are displayed the 2 modules Youtube ones are not visible....
I also tried a full zoom on Firefox and they disappear...
Not sure if that is a good test or not but it would have me scratching my head. . .
Reply With Quote
  #5  
Old 03-13-2016, 12:02 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
Hello there. . .

They look and act great with the PC. However, have you tried viewing them using your mobile?
I try to view them through Chrome using developer tools and whilst all the other modules are displayed the 2 modules Youtube ones are not visible....
I also tried a full zoom on Firefox and they disappear...
Not sure if that is a good test or not but it would have me scratching my head. . .
There should be media queries for @media screen (min-width: 320px) and (max-width: 667px) which cause the following two IDs to use 100% of the container width for small screen mobile devices:

div#widget_224.b-module.canvas-widget.default-widget.custom-html-widget {
width: 50%;
height: 100%;
border:thick solid #1C4F70 !important;
}

div#widget_225.b-module.canvas-widget.default-widget.custom-html-widget {
width: 50%;
height: 100%;
border:thick solid #1C4F70 !important;
}

667px is fine for newer smartphones but leaves out the 640px crowd, which is a huge percentage of smartphone users.
Reply With Quote
Благодарность от:
DemOnstar
  #6  
Old 03-13-2016, 06:56 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@shimei

Quote:
Originally Posted by ProSportsForums View Post
There should be media queries for @media screen (min-width: 320px) and (max-width: 667px) which cause the following two IDs to use 100% of the container width for small screen mobile devices:

div#widget_224.b-module.canvas-widget.default-widget.custom-html-widget {
width: 50%;
height: 100%;
border:thick solid #1C4F70 !important;
}

div#widget_225.b-module.canvas-widget.default-widget.custom-html-widget {
width: 50%;
height: 100%;
border:thick solid #1C4F70 !important;
}

667px is fine for newer smartphones but leaves out the 640px crowd, which is a huge percentage of smartphone users.
:up:

Thanks for that. . .
Guess that what community is about. . .
Reply With Quote
  #7  
Old 03-13-2016, 06:57 PM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using @media queries to display: none on screen sizes below 667px. If one doesn't want that they only need not put the @media queries in additional_css. Or customize it as you have suggested.

I prefer not to display them on smaller screen resolutions. Actually, I try to make the site as bare bones as possible for little display devices.
Reply With Quote
Благодарность от:
In Omnibus
  #8  
Old 03-13-2016, 06:58 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shimei View Post
I prefer not to display them on smaller screen resolutions. Actually, I try to make the site as bare bones as possible for little display devices.
Makes sense now. . .
Seems we were posting at the same time. . .
Reply With Quote
  #9  
Old 03-13-2016, 09:51 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shimei View Post
I am using @media queries to display: none on screen sizes below 667px. If one doesn't want that they only need not put the @media queries in additional_css. Or customize it as you have suggested.

I prefer not to display them on smaller screen resolutions. Actually, I try to make the site as bare bones as possible for little display devices.
Makes perfect sense. Everyone is going to have different needs. On my own sites I code everything for full HD 1920 X 1080 pixel resolutions. I think responsive design is entirely over-rated for modern technology. Virtually all new smartphones and tablets are now full HD resolution. But several clients still think their sites should cater to the iPhone 4 crowd so that's what they get.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10078 seconds
  • Memory Usage 2,257KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete