Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
embed video in iframe
MONEE



Joined: 28 Oct 2007
Posts: 433

Posted: 06/25/13 13:55 
is there a way to embed a video in iframe like youtube video does here

{jrYouTube_embed type="iframe" item_id=$item._item_id auto_play=false width="100%"}

Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 06/25/13 14:17 
You can use an iframe as with normal html.

Or for an example of how jamroom does that take a look at smarty_function_jrYouTube_embed in jrYouTube/include.php

You'll need to take into account the information that is passed in to the smarty function in order to parse the youtube_embed_iframe.tpl template.


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.