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.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
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.
yeah i tried that now the video doesn't come up at all
Here you go...
code
$('<iframe />', {
name: 'myFrame',
id: 'myFrame',
class: 'youtube-player" type="text/html',
width: '280',
height: '250',
src: 'http://www.youtube.com/embed/TIA6KNfpRqs'}).appendTo(Tiggr('mobilelabel1'));
/code
App link: http://tiggzi.com/preview/27070/mob-s...
In my example, the label component has id of 'mobilelable1'.