%[if !edit]%%id=before%%id=after%%[endif]%%[if edit]%%id=stackname%
%id=fieldname%
Below examples using some of the currently famous video sharing services. Use the input fields named 'Embed before ID' and 'Embed after ID' in the HUD to define the custom embed code that you want to use. The VideoID is added or changed online using the WebYep CMS in edit mode. You can easily create a Video Blog by using this stack inside the WebYep Loop stack. Check the website from the used Video hosting company for the latest embed code.
Using the Vimeo embed tool you've created the following embed code:
<iframe src='http://player.vimeo.com/video/VideoID' width='600' height='375' frameborder='0'></iframe>
Use the following values for the Embed before and after ID:
Embed before ID = <iframe src='http://player.vimeo.com/video/
Embed after ID = ' width='600' height='375' frameborder='0'></iframe>
Using the YouTube embed tool you've created the following embed code:
<iframe title='YouTube video player' class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/VideoID' frameborder='0'></iframe>
Use the following values for the Embed before and after ID:
Embed before ID = <iframe title='YouTube video player' class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/
Embed after ID = ' frameborder='0'></iframe>
%[endif]%