Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670
Wordpress.com Embedding - TreetWiki

Wordpress.com Embedding

From TreetWiki

Jump to: navigation, search
 
If your Wordpress blog is hosted on Wordpress.com, however, you are not allowed to embed flash video directly, as failure or security risks might impact not only you but many other users as well. The same applies to self-hosted installations using Wordpress Multi-User.
If your Wordpress blog is hosted on Wordpress.com, however, you are not allowed to embed flash video directly, as failure or security risks might impact not only you but many other users as well. The same applies to self-hosted installations using Wordpress Multi-User.
-
The way round this is to use a system like that offered by [[VodPod.com | http://vodpod.com]]. You can set up an account there if you wish, but you don't ''have'' to. There is a bookmarklet and also a button you can use to grab the video and create a new blog entry all in one go. (They also have a widget for embedding video in a sidebar.)  
+
The way round this is to use a system like that offered by [http://vodpod.com VodPod]. You can set up an account there if you wish, but you don't ''have'' to. There is a bookmarklet and also a button you can use to grab the video and create a new blog entry all in one go. (They also have a widget for embedding video in a sidebar.)  
Simply install the button as described and then go to the Treet.tv page displaying the show you want to embed. Right-click on the screen and copy the embed code: you'll need it shortly.
Simply install the button as described and then go to the Treet.tv page displaying the show you want to embed. Right-click on the screen and copy the embed code: you'll need it shortly.
Click the VodPod button and a window will pop up offering you the ability to create a new post in one of a number of blogging systems, including Wordpress. You'll need to enter your site and account details to create the post.
Click the VodPod button and a window will pop up offering you the ability to create a new post in one of a number of blogging systems, including Wordpress. You'll need to enter your site and account details to create the post.
-
You'll see a window in which the video ''won't'' be displayed. Click the button "No, I can't see the video" and you are asked to enter the embed code. Paste the embed code you previously copied into the window. Go back to the main VodPod widget window and you should now see a preview of the video.  
+
You'll see a window in which the video ''won't'' be displayed. Click the button "I don't see the video I want" and you are asked to enter the embed code. Paste the embed code you previously copied into the window and press Continue to go back to the main VodPod widget window and you should now see a preview of the video. Click "Yes, this is the video I want to add". Then follow the instructions in subsequent windows to title, tag and add text to your entry.
I suggest that you click the button to create a draft (unpublished) post and then go into Wordpress and edit it.
I suggest that you click the button to create a draft (unpublished) post and then go into Wordpress and edit it.
-
This is because the default VodPod embedding puts a 4x3 window in the centre of the column. This letterboxes a 16:9 presentation and is too small in most cases.  
+
This is because the default VodPod embedding puts a 4x3 window in the centre of the content column. This letterboxes a 16:9 presentation and is too small in most cases. If you like the default setting, that's fine of course, but I suspect that you will at least want to reduce the height to remove the letterboxing bars.
-
You can go into the HTML and fix this so that you get the maximum possible width and crop off the black letterboxing bars.
+
You can go into the HTML in the Wordpress editor and fix this so that you get the maximum possible width and crop off the black letterboxing bars.
Click the HTML tab in the Wordpress edit window.
Click the HTML tab in the Wordpress edit window.
<pre>
<pre>
-
<span style="display:block;width:540px;margin:0 left;"> [vodpod id=Video.3049184&amp;w=540&amp;h=330&amp;fv=config%3Dhttp%253A%2F%2Fapi.treet.tv%2Fttvplayer%2Fapi%253Fop%253Dpcfg%2526v%253Ddw_074_08feb10]</span>
+
<span style="display:block;width:540px;margin:0 left;">  
-
<div style="font-size:10px;text-align:center;">"Designing Worlds visits Midsomer Isle...", posted with <a href="http://vodpod.com?r=wp">vodpod</a></div>
+
[vodpod id=Video.3049184&amp;w=540&amp;h=330&amp;fv=config%3Dhttp%253A
 +
%2F%2Fapi.treet.tv%2Fttvplayer%2Fapi%253Fop%253Dpcfg%2526v%253Ddw_074_08feb10]</span>
 +
<div style="font-size:10px;text-align:center;">"Designing Worlds visits Midsomer Isle...",  
 +
posted with <a href="http://vodpod.com?r=wp">vodpod</a></div>
</pre>
</pre>
Feel free to adjust the values described above to the look you want. You'll notice the w:h ratio is ''not'' 16:9, because there is a control bar to include as well. If you get the numbers wrong, all that will happen is that you will get black bars at the edge, either at the sides ("pillarboxing") - height too small, or width too large; or at top and bottom ("letterboxing") - height too large or width too small. Adjust the numbers to suit.
Feel free to adjust the values described above to the look you want. You'll notice the w:h ratio is ''not'' 16:9, because there is a control bar to include as well. If you get the numbers wrong, all that will happen is that you will get black bars at the edge, either at the sides ("pillarboxing") - height too small, or width too large; or at top and bottom ("letterboxing") - height too large or width too small. Adjust the numbers to suit.
 +
 +
--[[User:ElrikMerlin|ElrikMerlin]] 15:55, 19 February 2010 (UTC)

Current revision as of 16:00, 19 February 2010

Personal tools