{"id":876,"date":"2009-11-14T12:04:41","date_gmt":"2009-11-14T19:04:41","guid":{"rendered":"http:\/\/macblaze.ca\/?p=876"},"modified":"2009-11-14T12:06:13","modified_gmt":"2009-11-14T19:06:13","slug":"wordpress-flv-players","status":"publish","type":"post","link":"https:\/\/macblaze.ca\/?p=876","title":{"rendered":"WordPress flv players"},"content":{"rendered":"<p>I came across some really powerful <a href=\"http:\/\/inspiks.com\/powerful-use-of-typography-in-christian-motion-graphics\/\"> typography-based videos<\/a>  the other day and thought I wanted to steal one to <a href=\"\/?page_id=854\">post on my site<\/a>.<\/p>\n<p>First up was to download the .flv file. Easily accomplished on a Mac by<a href=\"http:\/\/www.macosxhints.com\/article.php?story=20070420014456930\"> using Safari<\/a>.<\/p>\n<blockquote><p>\n Open the page with the movie and press Command-Option-A, which shows the Activity window. If you&#8217;re also loading other sites, you&#8217;ll see a list of them: scroll until you find the YouTube page and click on the arrow to show details about what is being loaded. <\/p>\n<p>You will certainly notice an element whose size is over 0.5MB (most of the time, over 5MB). Double-click on it (even if it is still loading), and Safari will download it. When the download is over, navigate to the file in the Finder (which will probably be called get_video) and add the extension .flv to its name. <\/p><\/blockquote>\n<p>Next up was trying to get a an flv plugin so I could easily run them on the WordPress site. I heard a lot of good things about <a href=\"http:\/\/wordpress.org\/extend\/plugins\/flv-player\/\">FLV Player Plugin v2.0<\/a> but in the end I couldn&#8217;t get it to run. I have no idea why. One of things that I had to do was edit the php file to correct the location of the swfobject.js. Default expects it to be placed in the plugins directory \u2013 but the file exists in plugins\/flv-player. Modify line 20 to update the correct path to swfobject.js or the &#8220;Get Flash&#8221; icon will show up.<\/p>\n<p>Still it wouldn&#8217;t play the flv and I have no idea what I did wrong. While cruising the  WordPress site I came across <a href=\"http:\/\/wordpress.org\/extend\/plugins\/zd-youtube-flv-player\/\">ZD YouTube FLV Player<\/a> which offeered more options and actually worked for me (other than the autoplay switch which still won&#8217;t work&#8230;). Anyway here are the usage and attributes:<\/p>\n<p><strong>Usage<\/strong>:<br \/>\n[zdvideo]url[\/zdvideo]<\/p>\n<p>&#8216;url&#8217;: This is the URL of either a youtube video or flv video file. Example &#8211; http:\/\/in.youtube.com\/watch?v=7HdJgf3yXM0 or http:\/\/www.yourdomain.com\/videos\/myvideo.flv<\/p>\n<p><strong>Attributes<\/strong>:<br \/>\nwidth &#8211; Default is &#8220;425&#8221;. This is the width of the player including border.<br \/>\nheight &#8211; Default is &#8220;349&#8221;. This is the height of the player including border.<br \/>\nalign &#8211; Alignment of the Flash Player. Default is &#8220;center&#8221;. Available Options: &#8220;left&#8221;\/&#8221;right&#8221;\/&#8221;center&#8221;<br \/>\nborder &#8211; Show\/Hide Flash Player Border. Default &#8220;yes&#8221;. Available Options: &#8220;yes&#8221;\/&#8221;no&#8221;<br \/>\nfullscreen &#8211; Show\/Hide full screen button. Default &#8220;yes&#8221;. Available Options: &#8220;yes&#8221;\/&#8221;no&#8221;<br \/>\ntheme &#8211; Name of the theme you want to use for the Flash Player. Default &#8220;dark&#8221;.<br \/>\nautoplay &#8211; Set video auto play On\/off. Default &#8220;no&#8221;. Available Options: &#8220;yes&#8221;\/&#8221;no&#8221;<\/p>\n<p><strong>Themes<\/strong>:<br \/>\nDark<br \/>\nGlossy<br \/>\nGray<br \/>\nSimple 1<br \/>\nSimple 2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across some really powerful typography-based videos the other day and thought I wanted to steal one to post on my site. First up was to download the .flv file. Easily accomplished on a Mac by using Safari. Open the page with the movie and press Command-Option-A, which shows the Activity window. If you&#8217;re [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/876"}],"collection":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=876"}],"version-history":[{"count":0,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/876\/revisions"}],"wp:attachment":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}