Re: [Tiki-devel] responsive display of videos in Tiki / responsive YouTube videos
Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]>
| Newsgroups | gmane.comp.cms.tiki.user,gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
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