Video as lightbox.

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri May 17, 2013 6:25 am
Reply with quote
Report this post
Hello
two short questions - Ill be glad for support..

1. is in bikestore template possibility to insert thumb of video and on click - it is played in lightbox ( this solution is used in demo template called AppSite on main page - in bikestote the are not such modules ?

2. can we do it indide tabs manager ?

Thank you fir your time

Regards Bartek
User avatar
Fresh Boarder

teitbite
Fri May 17, 2013 10:15 am
Reply with quote
Report this post
Hi

Sure it can be done. All You need to so it to use a code like this in html:

Code: Select all
<a href="[path to the video]" class="modal" rel="{handler:'iframe',size:{x:640,y:480}}">
    <img src="[some image with video frame]" />
</a>


this will open a video inside ifram inside popup :)
User avatar
Moderator

GK User
Sat May 18, 2013 11:04 pm
Reply with quote
Report this post
Hello

Thank you for fast answer, could you please advise wjat I`m doing wrong ( maybe some plugin is disabled...)

after using code like this"
Code: Select all
<a class="modal" href="http://www.youtube.com/watch?v=RqRTUdQ35mQ" rel="{handler:'iframe',size:{x:640,y:480}}"> <img src="images/ta.jpg" alt="" /> </a>


when I click picture (hyperlink) I have only white lightbox ( movie isn`t loading)

http://ascoeq.nazwa.pl/asbudbs/index.php/home/video

Could you please look ?

Thanks in advance
Regards Bartek
User avatar
Fresh Boarder

teitbite
Sun May 19, 2013 5:12 pm
Reply with quote
Report this post
Hi

You are trying to display whole page and YouTube restrict such thing. Please try using a direct video code instead:

Code: Select all
<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/RqRTUdQ35mQ?version=3&amp;hl=pl_PL"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/RqRTUdQ35mQ?version=3&amp;hl=pl_PL" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>


And add it to Your site as explained in a modal instruction post here http://www.spiralscripts.co.uk/Joomla-T ... oomla.html . You need what's in Example 3.
User avatar
Moderator


cron