Page 1 of 2

embedding you tube videos

Posted: Mon Mar 25, 2013 7:20 pm
by emine

I am new to this, I don't know how to embed you tube videos can anyone help?


embedding you tube videos

Posted: Mon Mar 25, 2013 7:24 pm
by maxkatz

If you are new to mobile app building in Tiggzi, please read getting started: http://docs.tiggzi.com/getting-started, then start with tutorials: http://docs.tiggzi.com/tutorials and/or watch the videos: http://docs.tiggzi.com/videos/

As for embedding a YouTube video, it's in the docs: http://docs.tiggzi.com/documentation/...


embedding you tube videos

Posted: Mon Mar 25, 2013 7:46 pm
by emine

Sorry to be a bother :( Will the video only appear once I have exported my app.. it does not seem to be working..


embedding you tube videos

Posted: Mon Mar 25, 2013 7:48 pm
by Kateryna Grynko

Hi,
Should be working everywhere...


embedding you tube videos

Posted: Mon Mar 25, 2013 7:51 pm
by emine

hey thanks

i guess i have pasted the code in the wrong place

Where exactly do I paste this code

$('', {
name: 'myFrame',
id: 'myFrame',
class: 'youtube-player" type="text/html',
width: '300',
height: '250',
src: 'https://www.youtube.com/embed/TIA6KNfpRqs'
}).appendTo('body');


embedding you tube videos

Posted: Mon Mar 25, 2013 8:11 pm
by Kateryna Grynko

On page Load event add "Run JavaScript" action:
Image

I would recommend you to replace:
code.appendTo('body');/code
withcode.appendTo('.ui-content');/code


embedding you tube videos

Posted: Thu Jun 20, 2013 4:43 am
by Cio BB

got the following error when test

Blocked a frame with origin "http://www.youtube.com" from accessing a frame with origin "http://appery.io". Protocols, domains, and ports must match.


embedding you tube videos

Posted: Thu Jun 20, 2013 9:24 am
by Maryna Brodina

Hello! Could you clarify what did you try to do? Do you mean you were trying to embed youtube video and get this errror while testing? Could you also clarify wat code you use to do that?


embedding you tube videos

Posted: Tue Jun 25, 2013 7:01 am
by Cio BB

After I follow the instruction from Katya's comment, I export my project to eclipse and deploy to my Android phone. The youtube video still got black screen, just with audio but no video, this is the screenshot that we i got

Image

this is my project:
http://appery.io/app/project/d38440f2...


embedding you tube videos

Posted: Tue Jun 25, 2013 5:42 pm
by Maryna Brodina

Hello! Sorry for delay. Working on it.