Page 1 of 2
How to use Video component?
Posted: Sun Apr 14, 2013 7:22 pm
by gonadn
Hi
How can i use this video component in tiggzi?
I have tried to set some random url from youtube, but none of them is working.
I dont no what to put in type field? and why is there 3 src and type fields? what is purpose of all these fields?
Is there any tutorial?
How to use Video component?
Posted: Sun Apr 14, 2013 7:24 pm
by maxkatz
http://docs.tiggzi.com/documentation/...
Our component is the standard HTML5 video element. YouTube doesn't allow playing its videos directly with this element.
How to use Video component?
Posted: Sun Apr 14, 2013 7:27 pm
by gonadn
oki, so any idea wich component i can use, i maybe need to that in VS?
How to use Video component?
Posted: Sun Apr 14, 2013 7:46 pm
by Igor
you can use
precode
$('<iframe />', {
name: 'myFrame',
id: 'myFrame',
class: 'youtube-player" type="text/html',
width: '300',
height: '250',
src: 'http://www.youtube.com/embed/TIA6KNfpRqs'
}).appendTo(Tiggr('mobilecontainer1'));
/code/pre
How to use Video component?
Posted: Mon Apr 15, 2013 6:48 pm
by gonadn
Oki nice, this script i have to add it on to the page, mobilecontainer what is that? a panel or?
How to use Video component?
Posted: Mon Apr 15, 2013 6:54 pm
by gonadn
Your script is working, if i put that in a page load. But when i change the youtube url to another like: https://www.youtube.com/watch?v=a8AiyZ..., it's not working with this url....? any idea why?
How to use Video component?
Posted: Mon Apr 15, 2013 7:00 pm
by Maryna Brodina
Hi, mobile screen in editor contains three parts - header, mobilecontainer, footer.
How to use Video component?
Posted: Mon Apr 15, 2013 7:12 pm
by Maryna Brodina
Please try another URL format:
instead of codehttps://www.youtube.com/watch?v=xxxxx/code
use codehttps://www.youtube.com/embed/xxxxx/code
How to use Video component?
Posted: Mon Apr 15, 2013 7:25 pm
by gonadn
Can i put this code into some div/panel so i no where it gonna be rendered , or?
How to use Video component?
Posted: Mon Apr 15, 2013 7:30 pm
by gonadn
nice , it is posible to just put this iframe into a panel....
Working now...saved my life