BlogSense Tips Using Youtube Shortcode to Generate Video ID
Sunday, October 23, 2011
[BS] BlogSense Tips Using Youtube Shortcode to Generate Video ID
Sometimes we need to capture the youtube video id so we can embed it into a theme shortcode, or custom video player like JW Player . Here is a trick to use BlogSense’s video generation shortcode to return the video id rather then the object embed code. Go to Automation->Core Templates->Post Template: Youtube Object Edit the template to contain %video_id% only. And voila now the youtube shortcode should return a video id. Now keep in mind that this template also powers the %video_embed% token within the ‘Videos’ module. So if you are using the Videos module be prepared for the %video_embed% token to return the video id instead of the object embed code. Similar Posts: %video_id% token for Youtube Module, Ability to use video publish date as post date, custom post_type categories. BlogSense -9.0.1.8 Use token varibles in custom fields and bug fix with Mass Create module BlogSense 4.9.3.6 Files Autoblog: Video Posting BlogSense Newsletter Latest Release 8.1.5.0 Lots of updates Inside Tags: video id, video generation, custom video player <BR/>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment