Re: [Tiki-devel] responsive display of videos in Tiki / responsive YouTube videos
Torsten <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.user,gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Thx Gary, yes indeed. "fitvid.js" covers the responsive video issue. However it might not be the best solution for every use case - "fitvid.js" has a global effect for the whole website, which might be not intended for older existing (upgraded websites. See: https://tiki.org/forumthread59970). Anyway: I added this to the page aswell and hopefully will not forget to make an extra page for the responsive part which is not limited to YouTube. Best regards Torsten On 24.10.2017 04:36, Gary Cunningham-Lee wrote: > Hi, > > There's already a solution built in to Tiki. You can make video > displays responsive by just activating "fitvid.js" on the Features > admin page, under the Interface tab > (tiki-admin.php?page=features#contentadmin_features-interface). > > -- Gary > > On 10/24/2017 6:44 AM, Torsten wrote: >> Hello everybody, >> >> I just thought that others might have or have had the same problem as me >> trying to display videos responsive and some of you might still be >> looking for a solution to display videos automatically adapted to the >> viewport and width of the browser. >> >> Whilst researching for a solution, I just today stumbled over two nice >> videos explaining how to make youtube videos (or videos embedded with >> iframes in general) responsive by wrapping the iframe (or the >> PluginYoutube of Tiki) in a div, adding a class to it and defining a few >> lines of CSS. The effort is negligibly and the effect is the same for >> embedded videos as the img-responsive class has for images. >> >> As well-behaved Tiki community members do, I have instantly >> documented here: >> >> https://doc.tiki.org/PluginYouTube#Responsive_YouTube_video >> >> Best regards, >> Torsten >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> TikiWiki-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel >> > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > TikiWiki-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot