Page 2 of 2

when i embed video it does not play in the correct spot

Posted: Wed Feb 08, 2012 2:47 am
by WilliamWPrice

when i embed video it does not play in the correct spot

Posted: Thu Feb 09, 2012 12:39 am
by maxkatz

Try this. Instead of attaching the video to the body tag, attach it to the label component (Workout 1, Workout 2). That should position it in the right place.


when i embed video it does not play in the correct spot

Posted: Fri Feb 10, 2012 8:50 am
by WilliamWPrice

yeah i tried that now the video doesn't come up at all


when i embed video it does not play in the correct spot

Posted: Fri Feb 10, 2012 5:47 pm
by maxkatz

Here you go...

code
$('<iframe &#47;>', {
name: 'myFrame',
id: 'myFrame',
class: 'youtube-player" type="text&#47;html',
width: '280',
height: '250',
src: 'http:&#47;&#47;www&#46;youtube&#46;com&#47;embed&#47;TIA6KNfpRqs'})&#46;appendTo(Tiggr('mobilelabel1'));
/code

App link: http://tiggzi.com/preview/27070/mob-s...

In my example, the label component has id of 'mobilelable1'.