gframe v11.5
Update May 5, 2016,
virtually every video on your network will now be fluent. Even Clicking through your comment and activity feed buttons your videos will remain perfectly fluent. I also removed the small gap between the video and the comments in the activity feed..
This js code targets all YouTube, Slideshare & Vimeo videos on your network and resizes them according to the columns/DIV width and the videos aspect ratio.
Click here to see the Activity feed more button and more comments buttons inaction. :-)
click here to view the js code
Main code
<!-- Custom Code - End of Page Code box -->
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/935873?profile=original" id="gframe"></script>
If you would like to set a new max width just change the 100% in this line of code to whatever width you prefer. This code goes in your design studio CSS section
/*! GEOCOMs gframe set max width */
/*! Design studio CSS section */
.gframew {
max-width:100%!important; }
Replies
John I don't think we can target it with JavaScript either I'm sorry ..
The reason we can't target it is because the Java has already loaded before you insert the I-frame.
Thank you Zachary. :)
John, you did an awesome job with your video grid and styling of the page.. Looks great. ;)
Your the man, George. Let me scrape up enough cash to have you set us all up with a network we can be prod of.
Blessings
LOL Jim :) Blessings
Nice tip George! Thanks for sharing with us!
Thank you, and you're welcome. JF :-) you have a great day
For all us CODE CHALLENGED individuals. This code makes the videos resize themselves according to the space the viewer has for them?
I'm sorry Shelly!!! I've changed the wording in this discussion to make it clearer on what this code does. Thank you for pointing that out. You have a great day Shelly. :)
THANK YOU! Both for the clarification and for the brilliant code! This will make things so much easier.