Friends,
We are enabling ways to embed YouTube and Vimeo videos within CNP Pages.
Here is how you can do it. For YouTube video like this - http://www.youtube.com/watch?v=Khfjp_AqhKw" onclick="window.open(this.href);return false; for example note down the video ID after v= in the URL. In this case it is Khfjp_AqhKw
Now put that between the new BB Code that we have created like this -
[youtube]Khfjp_AqhKw[/youtube]
That's it !!
If you want to just use the background music use the this BBcode - [youtube_no_video] For example you may add this to your image description -
[youtube_no_video]Khfjp_AqhKw[/youtube_no_video]
With this above BBCode you will only hear the music associated with a video which can serve as background music for your image.
PLEASE NOTE IF WE HAVE TWO SUCH BBCodes IN A PAGE MUSIC WILL OVERLAP. SO DON'T ADD A COMMENT WITH
ANOTHER BACKGROUND MUSIC. NO TWO BACKGROUND VIDEO MUSICS PLEASE !!
If you want to point to a short portion of a Youtube video with start and end then you can achieve this by,
[youtubese]video_id,start_time_in_seconds,end_time_in_seconds[/youtubese]
Here is an example -
[youtubese]UwsEeQpxkFw,1200,1620[/youtubese]
For Vimeo videos like for example -"http://vimeo.com/8426920"
Copy the last video ID, which in this case is 8426920 Put this ID between the new BB Code as shown below -
[vimeo]8426920[/vimeo]
Hope this will be a useful addition to share videos if any related to the context of any discussion.
The actual videos will get embedded as shown below.