adsense

How to Embed Quicktime With Shortcode on Wordpress





1. Prepare your Quicktime embed link, if you have not already done so. Use the following embeddable code sample to prepare your Quicktime file:


2. Replace 'sample.mov' with the URL of the Quicktime video, but leave the quotation. Change the height and width to a custom size, if desired.

3. Sign in to your Wordpress site and click on 'Editor' beneath the 'Appearance' section. Click on the 'Functions.php' file to open it. Scroll to the bottom of the file.
4. Paste the following code to register a new shortcode:function QuicktimeVideo() {return '

';}add_shortcode('quicktime', 'QuicktimeVideo');
5. Type your Quicktime video shortcode to automatically embed the video in a post. In the example, the shortcode is 'quicktime,' so you would type '[quicktime]' -- without the quotes -- to make it appear.

Comments

0 Responses to "How to Embed Quicktime With Shortcode on Wordpress"

Post a Comment

Popular Posts

About