{"id":24488,"date":"2013-07-28T18:00:54","date_gmt":"2013-07-28T18:00:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/swfput\/"},"modified":"2020-08-12T12:00:06","modified_gmt":"2020-08-12T12:00:06","slug":"swfput","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/swfput\/","author":12798530,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.1.0.1","stable_tag":"3.1.0.1","tested":"5.5.18","requires":"4.3","requires_php":"","requires_plugins":"","header_name":"SWFPut","header_author":"Ed Hynan","header_description":"","assets_banners_color":"ffffff","last_updated":"2020-08-12 12:00:06","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=4Q2Y8ZUG8HXLC","header_plugin_uri":"\/\/agalena.nfshost.com\/b1\/software\/swfput-html5-flash-wordpress-plugin\/","header_author_uri":"\/\/agalena.nfshost.com\/b1\/","rating":0,"author_block_rating":0,"active_installs":30,"downloads":8083,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"3.1.0":"<ul>\n<li>Fix &#039;continue&#039; statement with a &#039;switch&#039; enclosed in a loop.\nThe statement was missing a level argument, e.g. &#039;continue 2&#039;.\nThis bug had no effect, as the end of the switch block is\nfollowed immediately by the end of the loop block.  PHP 7.x\nnow prints a warning (visible on page), triggering the bug fix.<\/li>\n<li>Note that adding new video now requires the &#039;Classic Editor Plugin&#039;\n(since the WP move to Gutenberg).<\/li>\n<\/ul>","3.0.9":"<ul>\n<li>Fix for MS Edge browser.<\/li>\n<\/ul>","3.0.8":"<ul>\n<li>Fix new mce-view visual editor presentation with WP 4.6.<\/li>\n<li>Widget support for WP 4.5 preview &#039;selective refresh&#039; bug fix: stop play.<\/li>\n<li>Change default for aspect ratio auto adjust to false.<\/li>\n<\/ul>","3.0.7":"<ul>\n<li>Add widget support for WP 4.5 preview &#039;selective refresh&#039;.<\/li>\n<li>Confirmed working with WP 4.5.<\/li>\n<\/ul>","3.0.6":"<ul>\n<li>Poster image might have been too small after stop button\nclick; this should be OK now.<\/li>\n<li>Confirmed working with WP 4.4.<\/li>\n<\/ul>","3.0.5":"<ul>\n<li>Fix for URLs without scheme (e.g. &quot;\/\/www.example.com\/foo\/&quot;).<\/li>\n<li>Editor button:  changed to .<\/li>\n<li>Cleanup minor JS warnings on web console.<\/li>\n<li>Misc. cleanup, source comment edits.<\/li>\n<\/ul>","3.0.4":"<ul>\n<li>Further improve controls for mobile.<\/li>\n<\/ul>","3.0.3":"<ul>\n<li>Make controls work in Chrome\/Chromium mobile.<\/li>\n<\/ul>","3.0.2.1":"<ul>\n<li>Same as 3.0.3 (Seems new WP version no longer handles 4th minor\nrevision number, so 2.1 is now 3).<\/li>\n<\/ul>","3.0.2":"<ul>\n<li>The just released WordPress 4.2.3 security revision includes\na change that appeared in WP 4.3beta1.  This release of SWFPut\nadjusts a version check so that the changes of SWFPut 3.0.1\ntake effect for WordPress 4.2.3.<\/li>\n<li>Fixed bug in new visual editor dialog code that caused changes\nin the caption field to be lost on switching to another tab.<\/li>\n<\/ul>","3.0.1":"<ul>\n<li>Fix new mce-view visual editor presentation with WP 4.3beta1.<\/li>\n<li>Fix URL preparation bug in plugin_page_addlink().<\/li>\n<li>Misc. code cleanups.<\/li>\n<li>New .htaccess file.<\/li>\n<\/ul>","3.0":"<ul>\n<li><p>This release includes an improvement to the responsive\nsizing of video: the height of a video is now limited\nto fit within the visible vertical area. Previously, sizing\nwas applied to width alone. This change should be\nmost noticeable on small devices, particularly\nhandheld devices in landscape orientation. This change\napplies to desktop browsers too, although it will\nprobably not be evident unless the browser window\nis at a small size.<\/p>\n\n<p>This version has small documentation updates regarding\nthe new visual editor interface of release 2.9, and\none bugfix needed because of using a new WP function\nsignature changed at some point before 4.x -- this\nwould not have affected users of current WordPress,\nbut SFWPut is still supporting (i.e., working with)\nWP as old as 3.0.2 (hopefully for no reason, since\nold versions are probably insecure and should not be\nused).<\/p><\/li>\n<\/ul>","2.9":"<ul>\n<li>A new interface for adding and configuring videos in the\nvisual editor. The interface now shares many properties\nwith the WordPress media interface, and uses much of the\nnew and maturing core code.  Users will find video setup\neasier, and familiar.  The origonal setup form in a\nmetabox remains available and may be considered an\nadvanced form, as it retains configuration items that\nwill not be added to the new simplified interface.\nThe new interface is only available for WordPress 4.x,\nand support for 4.0 and 4.1 might be removed in the future\n(users are advised to keep WordPress up to date).<\/li>\n<\/ul>","2.2.2.1":"<ul>\n<li>Sigh. Just added a forgotten file (from 2.2.2).<\/li>\n<\/ul>","2.2.2":"<ul>\n<li>Bug fix release.<\/li>\n<\/ul>","2.2.1":"<ul>\n<li>Confirmed working with WP 4.1.<\/li>\n<\/ul>","2.2":"<ul>\n<li>Confirmed working with WP 4.0.<\/li>\n<li>Added alignment option.<\/li>\n<li>Added video preload option.<\/li>\n<\/ul>","2.1.1":"<ul>\n<li>Chromium 3,4 broken iframe handling will not run scripts\nwith attribute sandbox=&quot;allowScripts&quot;, so sandbox is removed.\nDo web search &#039;Chromium iframe scripts&#039; to see Chromium dither.<\/li>\n<\/ul>","2.1":"<ul>\n<li>Several small bug fixes and improvements.<\/li>\n<\/ul>","2.0":"<ul>\n<li>New video display in editor, minor bug fixes.<\/li>\n<\/ul>","1.0.8":"<ul>\n<li>HTML5 video support now equals the original flash video support, and\na new HTML5 video player provides an interface with the same\ndesign as the flash player, and as much of the same behavior\nas can be implemented with the HTML5 video specification.<\/li>\n<\/ul>","1.0.7":"<ul>\n<li>Presentation improvements, especially for small mobile platforms.<\/li>\n<\/ul>","1.0.6":"<ul>\n<li>Confirmed working with WP 3.8.<\/li>\n<\/ul>","1.0.5":"<ul>\n<li>Confirmed working with WP 3.7.<\/li>\n<\/ul>","1.0.4":"<ul>\n<li>Now has option to specify fallback HTML5 video sources, and\/or use\nthe initial (poster) image as display when flash video is\nnot supported.<\/li>\n<\/ul>","1.0.3":"<ul>\n<li>Internationalized (i18n) string handling should now be usable for\nanyone interested in making (and contributing) translations;\ndistribution includes a .POT file. Remaining changes are cleanups\nwhich should not have a noticeable effect.<\/li>\n<\/ul>","1.0.2":"<ul>\n<li>BUG FIX: URLs with non-8-bit characters would be corrupted in form\nfields, causing not-found errors in the player: changed\nJS unescape() to decodeURIComponent(). (Feedback on non-UTF-8\ncharsets would be welcome!)<\/li>\n<\/ul>","1.0.1":"<ul>\n<li>This revision has one important change: a misfeature that would\nsimulate an initial image (if one was not set) by pausing\nat a random point within first few seconds of the video, but\ncausing an unsolicited download of the medium in order to do so,\nhas been disabled.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":"970797","resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1146360","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","2.0","2.1","2.1.1","2.2","2.2.2","2.2.2.1","2.9","3.0","3.0.1","3.0.2","3.0.2.1","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"750259","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1146360","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"750259","resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"<p>The SWFPut widget setup form (bottom).<\/p>","2":"<p>The SWFPut posts\/page setup setup details dialog.<\/p>","3":"<p>The appearance of video placed by SWFPut (Twentyeleven theme\nwith dark custom colors, sidebar on left), not yet playing.<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18693,6305,18692,222,5637],"plugin_category":[37,50],"plugin_contributors":[88563],"plugin_business_model":[],"class_list":["post-24488","plugin","type-plugin","status-publish","hentry","plugin_tags-flash-video","plugin_tags-graphics","plugin_tags-html5-video","plugin_tags-video","plugin_tags-video-player","plugin_category-arts-and-entertainment","plugin_category-media","plugin_contributors-edhynan","plugin_committers-edhynan"],"banners":{"banner":"https:\/\/ps.w.org\/swfput\/assets\/banner-772x250.png?rev=1146360","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/swfput\/assets\/icon.svg?rev=970797","icon":"https:\/\/ps.w.org\/swfput\/assets\/icon.svg?rev=970797","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/swfput\/assets\/screenshot-1.png?rev=750259","caption":"<p>The SWFPut widget setup form (bottom).<\/p>"},{"src":"https:\/\/ps.w.org\/swfput\/assets\/screenshot-2.png?rev=1146360","caption":"<p>The SWFPut posts\/page setup setup details dialog.<\/p>"},{"src":"https:\/\/ps.w.org\/swfput\/assets\/screenshot-3.png?rev=750259","caption":"<p>The appearance of video placed by SWFPut (Twentyeleven theme\nwith dark custom colors, sidebar on left), not yet playing.<\/p>"}],"raw_content":"<!--section=description-->\n<p>SWFPut provides 'responsive' video for posts and pages.\nSWFPut makes the presentation of video reliable for your\nvisitors: several conditions are handled well, such as\nthe uneven support for HTML5 video formats in the major\nbrowsers, the possible lack of support for either HTML5\nvideo or flash video in the visitor's browser, and even\nthe possiblilty that JavaScript might be disabled in your\nvisitor's browser.<\/p>\n\n<p>In addition to video for posts and pages, SWFPut provides\na video widget for use in widget areas, such as a sidebar.<\/p>\n\n<p>SWFPut video is 'responsive': it should display at a\nsuitable size on your visitor's device, whether large\nor small (a responsive WordPress theme is necessary).<\/p>\n\n<p>SWFPut makes video setup easy and flexible by providing\nan easy dialog based setup similar to (and based on)\nthat used by WordPress core media, and also an\nadvanced form with additional settings, which\nappears in a new \"metabox\"\non the editor page. For widgets, the form appears with\nthe usual drag and drop widget interface. After adding\nvideo objects, the form will continue to be useful for\nmaking changes (or, if you wish, to delete the video).<\/p>\n\n<p>In WordPress versions 3.3 and greater, video added by\nSWFPut will be visible in the post\/page visual editor.<\/p>\n\n<p>As many video objects as you wish can be placed in posts\npages, and of course the widget supports as many instances\nas you wish.\nYou may specify HTML5 or flash video, or both with one\nbeing primary content and the other as fallback.<\/p>\n\n<p>Here are some features of SWFPut to consider:<\/p>\n\n<ul>\n<li><p>SWFPut works directly with media file\nURL's; that is, SWFPut does <em>not<\/em> embed\nthe video players of providers such as YouTube or Vimeo.\nSWFPut is for video files which are accessible by URL,\nwhether hosted at your site or off-site.\nThe setup form provides two media selection lists.\nThe first is a selection of files found (recursively)\nunder your wp-content\/uploads directory. This list\nhas the advantage that it does <em>not<\/em> use the\nWordPress media library -- it will find files that\nyou upload 'by hand' (with ftp, ssh, etc.). This feature\nwill work around upload size limits that might prevent\nyou from uploading large video files to the media library.\nThe second is a selection of files found in the\nWordPress media library and is presented with the\nfile name and the 'attachment id'. This refers to files\nby ID, so it might be helpful if you manipulate media\nand expect ID associations to be valid. Files selections\nare filtered by name extension: FLV and MP4 for flash,\nand MP4, OGG and OGV, and WEBM for HTML5 video.<\/p><\/li>\n<li><p>Video resources do not need to be on your site:\nany URL can be specified, so you may present players\nfor off-site of 3rd party resources.<\/p><\/li>\n<li><p>SWFPut does not interfere with the appearance of\na site: a video is presented jsut as an image\n(such as .png or .jpg) is, with the same sort of\nstyle, and optional caption. The appearance of the\nvideo control interface, or control bar, is simple\nand quiet so it should not clash with site design.<\/p><\/li>\n<li><p>SWFPut allows you to set the display aspect ratio\nfor the video. Some video is 'anamorphic' in that\nthe pixel width and height do not match the intended\nproportion of display width and height. You might\nfilm your child's school play as 16:9 'widescreen'\nbut use a space saving feature of your recorder that\nsaves the video at 480x360 (which is not 16:9). You can\nset SWFPut to display the video at the intended 16:9\naspect ratio. You may set any aspect ratio (make it\ndistorted if you wish).<\/p><\/li>\n<li><p>The core features of the flash video player program\nincluded with SWFPut have been verified to work with\nthe Gnash free-software browser plugin, which is good\nif you care about free\/libre software users. (At the\ntime of this writing, Gnash does not handle the MP4\nvideo container format, so it is preferable that you\nprepare flash video in the FLV container, even using the\nh.264 and AAC codecs. Of course, you may use MP4 if\nyou must.)<\/p><\/li>\n<li><p>The flash video player program included with SWFPut\nis written and compiled with the <em>Ming<\/em> PHP extension,\nand the code is included, so you may modify the player.\nThe HTML5 player is written JavaScript, and the original,\nun-minified version is included, so you may modify it.\nIn fact, the zip archive available at the WordPress\nrepository includes all sources, although a POSIX\/Unix\nenvironment with certain tools is required to build.<\/p><\/li>\n<li><p>Localization sources are included; hopefully, polyglot\nusers will help with translations.<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>There are no special installation requirements.<\/p>\n\n<p>Preferably, install SWFPut from the WordPress Plugin\nRepository through the WordPress administrative interface.<\/p>\n\n<p>To install from a zip archive:<\/p>\n\n<ol>\n<li><p>Log in at your WordPress site<\/p><\/li>\n<li><p>Select 'Plugins -&gt; Add New'<\/p><\/li>\n<li><p>Select 'Upload'<\/p><\/li>\n<li><p>Select 'Browse'<\/p><\/li>\n<li><p>In your system's file selector, select the SWFPut zip file;\nselect 'OK' or equivalent<\/p><\/li>\n<li><p>Select 'Install Now'<\/p><\/li>\n<li><p>Select 'Activate Plugin'<\/p><\/li>\n<\/ol>\n\n<p>At this point \"SWFPut\" should be an entry on the plugins page.\nThe Settings menu should have an item \"SWFPut Plugin\".<\/p>\n\n<p>If the above is not so, there is probably a problem at your site's\nhost; for example if the host is Unix system there is very likely\na problem with incorrect permissions metadata (mode) on a directory\nsuch as wp-content\/uploads, or an unsuitable user or group ownership\nof (probably several) files and directories. This can be a frequent\nproblem if the host has PHP configured in \"safe mode\".<\/p>\n\n<p>If the host is not a Unix system, I'm sorry to say I cannot help;\nmaybe your hosting provider can.<\/p>\n\n<p>If the installation was successful, you should see a \"SWFPut Video Player\"\nwidget under 'Appearance -&gt; Widgets' and a meta-box entitled\n\"SWFPut Video\" on the posts and pages editing pages.<\/p>\n\n<p>For additional help, you will find README* files (differing in format,\nand excluding 'readme.txt', which is this file) that discuss the\nflash video player in more detail.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt><h3>What are the privacy implications of using SWFPut<\/h3><\/dt>\n<dd><p>None. SWFPut does no tracking at all. No information\nof any sort is gathered or stored or forwarded to another\nsite, or any such thing.  There is no contact made with\nany other site(1).  These statements apply both to the\nWordPress user, and to site visitors.<\/p>\n\n<p>(1) The user can provide a media URL from a 3rd party site\nwhich a visitor's browser will load; this 'contact' of\nanother site is entirely up to the WordPress user or administrator.<\/p><\/dd>\n<dt><h3>I installed SWFPut, now what?<\/h3><\/dt>\n<dd><p>First, note that in the editor page for posts\/pages,\nthere is a new 'metabox' named \"SWFPut Video.\" It\nmight be near the bottom of the page, but metaboxes\ncan be moved by dragging with the mouse. (When using\nSWFPut it might be useful to drag its metabox to\njust below the editor.) If necessary click the metabox\ntitle to show the form.<\/p>\n\n<p>The SWFPut form might look complicated, but don't\nworry! There is help. At the top right of the WordPress\neditor pages there is a tab named (in english)\n\"Help.\" Click that, and editor help material will drop\ndown. SWFPut adds a new tab here called \"SWFPut Video\"\n(what else?). Click that tab and . . .<\/p>\n\n<p>. . . another drop-down, this time specifically\nfor this plugin. Near the top there are two hyperlinks\nwhich open in a new tab\/page, one for PDF documentation\nand one for (old-time style) HTML documentation. These\nare versions of the same detailed document. The remainder\nof the in-place help text addresses just a few items\nthat the author (I) thought would need more explanation\nfor a quick start. Please peruse these for use.<\/p>\n\n<p>Quickest of all, see the FAQ below entitled\n\"Do I really need video in 3 or 4 formats?\" which\nin spite of the name addresses quick and easy use\nas well as video formats.<\/p><\/dd>\n<dt><h3>Do I really need to understand \"aspect ratio\" and things?<\/h3><\/dt>\n<dd><p>Probably not. In most case the width and height of the\nvideo will match the intended display proportion.\n\"Anamorphic\" video is not rare, but probably not too common\neither. The author has seen videos on e.g., YouTube,\nthat are distorted by wrong display aspect ratio\n(which is not YouTube's fault), but only a few.\nIf you find that your video looks squeezed or stretched,\nyou can always use a little trial &amp; error with the display\naspect setting until it looks good.<\/p><\/dd>\n<dt><h3>Do I really need video in 3 or 4 formats?<\/h3><\/dt>\n<dd><p>Possibly not. The help documention included with SWFPut\ndiscusses file formats for HTML5 and flash with a level\nof detail that -- it is hoped -- will help you make your video\navailable to the broadest range of browsers used by your\nvisitors. The cost of this detail is the loss of simplicity.<\/p>\n\n<p>The simplest use with not-too-bad availability would be like this:\nprepare your video in MP4 format; place the URL in <em>either<\/em>\nthe \"Flash video URL...\" or \"HTML5 video URLs...\" fields[*]\nin the setup form, and set display size in the \"Pixel Width:\"\nand \"x Height:\" fields; make sure that the cursor in the\neditor is at the spot you want, and click the\n\"Place new in post\" button. Publish the post\/page with\nthe \"Update\" button. Not too difficult!<\/p>\n\n<p>Currently many browsers support MP4 for HTML5 video,\nbut not all! The flash browser plugin has supported MP4\nfor a long time, but alternatives such as Gnash\n(a free-software flash plugin) might not. Availability\nwill be increased significantly by adding FLV (flash)\nand OGG (or 'ogv', a patent-free, free-licensed type) formats.\nIf you need video conversion software,\na quick web search should yield several options.\nChange the procedure in the above paragraph like this:\nplace the URL for the FLV type in the \"Flash video URL...\"\nfield, place the URL for the MP4 type <em>and<\/em>\nthe URL for the OGG type separated by a '|'\nin the \"HTML5 video URLs...\" field (and don't worry about\n'codec' types discussed in the help docs). Easy, and fun!<\/p>\n\n<p>Finally, to cover all the bases, amend the the above paragraph\nlike this: place the URL for the FLV type in the \"Flash video URL...\"\nfield, place the URL for the MP4 type <em>and<\/em>\nthe URL for the OGG type <em>and<\/em>\nthe URL for the WEBM type separated by a '|'\nbetween each in the \"HTML5 video URLs...\" field . . . .<\/p>\n\n<p>[*] MP4 can be placed in either the flash or HTML5\nURL fields and it will be effective for both, as long\nas the visitor's browser has JavaScript enabled.<\/p><\/dd>\n<dt><h3>What if a visitor has JavaScript disabled?<\/h3><\/dt>\n<dd><p>SWFPut is designed with that in mind. If scripting\nis disabled, but either flash or HTML5 video is\navailable, then your video should be viewable.\nHTML5 video will have the browser's native interface\nand basic features.<\/p><\/dd>\n<dt><h3>How do contact to the developer?<\/h3><\/dt>\n<dd><p>Post a comment at\n\/\/agalena.nfshost.com\/b1\/software\/swfput-html5-flash-wordpress-plugin\/\nor email edhynan at the email provider 'gmail' with the\ntop level domain 'com', or of course go the the SWFPut\nWordPress page at https:\/\/wordpress.org\/support\/plugin\/swfput\nand select the \"Support\" tab.<\/p><\/dd>\n<dt><h3>Does the developer want to know I use SWFPut?<\/h3><\/dt>\n<dd><p>Yes, the developer would consider it kind of you\nto leave a comment with the URLs of your using pages.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>Fix 'continue' statement with a 'switch' enclosed in a loop.\nThe statement was missing a level argument, e.g. 'continue 2'.\nThis bug had no effect, as the end of the switch block is\nfollowed immediately by the end of the loop block.<\/li>\n<\/ul>\n\n<h4>3.0.9<\/h4>\n\n<ul>\n<li>Fix for MS Edge browser.<\/li>\n<\/ul>\n\n<h4>3.0.8<\/h4>\n\n<ul>\n<li>Fix new mce-view visual editor presentation with WP 4.6.<\/li>\n<li>Widget support for WP 4.5 preview 'selective refresh' bug fix: stop play.<\/li>\n<li>Change default for aspect ratio auto adjust to false.<\/li>\n<\/ul>\n\n<h4>3.0.7<\/h4>\n\n<ul>\n<li>Add widget support for WP 4.5 preview 'selective refresh'.<\/li>\n<li>Confirmed working with WP 4.5.<\/li>\n<\/ul>\n\n<h4>3.0.6<\/h4>\n\n<ul>\n<li>Poster image might have been too small after stop button\nclick; this should be OK now.<\/li>\n<li>Confirmed working with WP 4.4.<\/li>\n<\/ul>\n\n<h4>3.0.5<\/h4>\n\n<ul>\n<li>Fix for URLs without scheme (e.g. \"\/\/www.example.com\/foo\/\").<\/li>\n<li>Editor button: <a> changed to .<\/a><\/li>\n<li>Cleanup minor JS warnings on web console.<\/li>\n<li>Misc. cleanup, source comment edits.<\/li>\n<\/ul>\n\n<h4>3.0.4<\/h4>\n\n<ul>\n<li>Further improve controls for mobile.<\/li>\n<\/ul>\n\n<h4>3.0.3<\/h4>\n\n<ul>\n<li>Make controls work in Chrome\/Chromium mobile.<\/li>\n<\/ul>\n\n<h4>3.0.2.1<\/h4>\n\n<ul>\n<li>Same as 3.0.3 (Seems new WP version no longer handles 4th minor\nrevision number, so 2.1 is now 3).<\/li>\n<\/ul>\n\n<h4>3.0.2<\/h4>\n\n<ul>\n<li>The just released WordPress 4.2.3 security revision includes\na change that appeared in WP 4.3beta1.  This release of SWFPut\nadjusts a version check so that the changes of SWFPut 3.0.1\ntake effect for WordPress 4.2.3.<\/li>\n<li>Fixed bug in new visual editor dialog code that caused changes\nin the caption field to be lost on switching to another tab.<\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<ul>\n<li>Fix new mce-view visual editor presentation with WP 4.3beta1.<\/li>\n<li>Fix URL preparation bug in plugin_page_addlink().<\/li>\n<li>Misc. code cleanups.<\/li>\n<li>New .htaccess file.<\/li>\n<\/ul>\n\n<h4>3.0<\/h4>\n\n<ul>\n<li><p>This release includes an improvement to the responsive\nsizing of video: the height of a video is now limited\nto fit within the visible vertical area. Previously, sizing\nwas applied to width alone. This change should be\nmost noticeable on small devices, particularly\nhandheld devices in landscape orientation. This change\napplies to desktop browsers too, although it will\nprobably not be evident unless the browser window\nis at a small size.<\/p>\n\n<p>This version has small documentation updates regarding\nthe new visual editor interface of release 2.9, and\none bugfix needed because of using a new WP function\nsignature changed at some point before 4.x -- this\nwould not have affected users of current WordPress,\nbut SFWPut is still supporting (i.e., working with)\nWP as old as 3.0.2 (hopefully for no reason, since\nold versions are probably insecure and should not be\nused).<\/p><\/li>\n<\/ul>\n\n<h4>2.9<\/h4>\n\n<ul>\n<li>A new interface for adding and configuring videos in the\nvisual editor. The interface now shares many properties\nwith the WordPress media interface, and uses much of the\nnew and maturing core code.  Users will find video setup\neasier, and familiar.  The origonal setup form in a\nmetabox remains available and may be considered an\nadvanced form, as it retains configuration items that\nwill not be added to the new simplified interface.\nThe new interface is only available for WordPress 4.x,\nand support for 4.0 and 4.1 might be removed in the future\n(users are advised to keep WordPress up to date).<\/li>\n<\/ul>\n\n<h4>2.2.2.1<\/h4>\n\n<ul>\n<li><p>Sigh. Just added a forgotten file (from 2.2.2). The default\nvideo (mentioned in the 2.2.2 entry, below) would be\nmissing, because I neglected to 'svn add' it.  Simple\nmistake updating the repository.<\/p>\n\n<p>This should not affect any but those who might try\nusing a URL that SWFPut rejects. Upgrade at your\nconvenience.<\/p><\/li>\n<\/ul>\n\n<h4>2.2.2<\/h4>\n\n<ul>\n<li><p>Bug fix release in response to a kind user query.\nURLs provided for video files are checked before they\nare used (good), but elsewhere in code an array key\nwould be missing if the URL was rejected (bad), possibly\nleading to PHP error messages appearing on page.<\/p>\n\n<p>Now, if a faulty URL is rejected, a default video URL\nis used, linking to a small video that says \"OOPS [...]\"\nand which should get the site owners attention (site\nvisitors should find the default video inoffensive, even\nif unexpected).<\/p><\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Confirmed working with WP 4.1.<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Added long overdue alignment options.<\/li>\n<li>Added video preload option. Before now, the video element was always\ngiven preload=\"none\". Now, the specification values \"none\",\n\"metadata\", and \"auto\" may be selected, or one special option\nnamed (in english) \"per initial image\", which will use \"none\"\nif if an initial image (poster) is set, or else \"metadata\" so\nthat the browser may display a frame of video as a poster.\nNOTE: the new default is \"per initial image\" which will\nchange the behavior of existing videos that do not have\nan initial image (or 'poster'): they will now have the\npreload=\"metadata\" attribute, so the browser will make a\nsmall unsolicited fetch from the server, and might display\na frame. If that is unwanted, the preload option should\nbe set to \"none.\"<\/li>\n<li>Some code cleanups and reorganization.<\/li>\n<li>Check with WordPress 4.0: OK. (Actually, WordPress 4.0-beta3,\nand in the unlikely event that a problem arises with the\nreal WP 4.0 release, it will be addressed in a minor revision.)<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>This release is called \"Sigh\" and its only change is a\nworkaround for a chromium 3.4 bug -- not on the front end, but\nin the Visual editor plugin. You want details, you say? OK:\nthis plugin's video in the tinymce visual editor is housed\nin an iframe element. The iframe was given, <em>for principle only<\/em>,\na sandbox attribute (with the \"allow-scripts\" argument), even\nthought the content is generated by a plugin script and is a\nknown quantity. This worked in the major browsers including the\nChromium 22 and 3.[123] tested with, but Chromium 3.4 would\nno longer run scripts in the iframe. Persons-of-curiosity may\nweb search 'chromium iframe scripts' and see at a glance that\nChromium has dithered on this subject. Bottom line: the sandbox\nattribute is removed. Apologies for this release so soon after\n2.1 a few days ago.<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Several small bug fixes and improvements.<\/li>\n<li>Now, by default HTML5 video will be placed as primary\ncontent with flash as fallback (see settings page).<\/li>\n<li>Now, if the stop button is clicked the initial poster\nimage, if provided, should reappear.<\/li>\n<li>Better handling of unsupported HTML5 video types: if\nan MP4 was given it will passed to the flash player\nwhen necessary.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Video will now display in the TinyMCE \"Visual\" editor. This\nrequires HTML5 compatible video files, and a recent and\nnot-too-buggy browser (Chromium is fine on GNU\/Linux, but\nas on MS it might not run the script in the iframe,\nbut the display is still useful; MSIE has some oddities but\noverall works). The settings page has a new option to control\nSWFPut video in the editor: always, only non-mobile, or\nnever. If the video display feature is disabled, the\nshortcode will simply appear in the editor.<\/li>\n<li>Overdue improvement to the video control bar: if the display\nis too narrow for all buttons, then the non-essential\nfullscreen and natural-scale buttons are hidden.<\/li>\n<li>Miscellaneous small fixes.<\/li>\n<li>Checked with new WordPress 3.9.<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Vacated in quantum leap to ring 2 resulting from increased\nenergy state induced by scale of recent changes.<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>HTML5 video support now equals the original flash video support, and\na new HTML5 video player provides an interface with the same\ndesign as the flash player, and as much of the same behavior\nas can be implemented with the HTML5 video specification.<\/li>\n<li>A new option (on the settings page) to make HTML5 video be primary\ncontent, with flash video as fallback. The default is to place\nflash video as primary content with HTML5 video as fallback due\nto the burden HTML5 video puts on users to provide several\nvideo file formats, but users who are confident in the use\nof HTML5 video will find this new option preferable.<\/li>\n<li>It is not necessary to specify both flash and and html video\nresources; either can be left out (i.e., SWFPut is no longer\na flash video player first with html video as an afterthought).<\/li>\n<li>Incompatible change: a checkbox on the setup form to specify that\nthe medium is audio, not video, has been removed. That feature\nreally had no place in this plugin, and audio-only support in\nthe flash player was bare-bones minimal.<\/li>\n<li>Interface: when a mobile browser is detected, the control bar\nremoves the natural-scale and full-scale buttons, which do\nnot make sense on mobile. The simpler control bar is more\nappropriate and usable.<\/li>\n<li>Improved help under the \"Help\" button the editor and widgets pages.<\/li>\n<li>Interface: volume control slider now presents vertically on\nnon-mobile, and horizontally on mobile. It now scales down\nat small display sizes (previously it was clipped).<\/li>\n<li>The original design goal that JavaScript will not be necessary so\nthat your site remains useful to visitors with scripting\ndisabled has been retained, albeit with necessary qualification:\nthe html video player requires JavaScript, but where scripting\nis not available, the default interface and behavior for the\nHTML5 video element provided by the browser will be present,\nso all is not lost.<\/li>\n<li>The several .swf binaries for control bar sizes are gone, now\na single binary simply scales the control bar (which of course\nwas the original intent and meant to be among the first\nupdates, but time flies like a banana).<\/li>\n<li>Directory and file file name changes.<\/li>\n<li>Bug fixes, of course.<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Presentation improvements. Display should be well scaled now,\nat least for themes that handle scaling; e.g., 'viewport'\nmeta element. This improvement should be particularly\nappreciable with regard to mobile platforms (on which the\ndisplay was very poor in previous versions), but desktop\/notebook\nmachines benefit too when the window is made small. Video\nwidgets place on sidebar should now be resized to sidebar\nwidth regardless of user-set dimensions, but on mobile if\nsecondary content is placed below primary content (i.e.\nsidebar appears below main area) video object will use\navailable space up up to the dimensions set.<\/li>\n<li>The original description through version 1.0.6 stated that\n\"SWFPut does not add any JavaScript.\" That is no longer\nthe case. Video object size adjustments depend on JavaScript,\nbut on non-mobile platforms the display does not depend on\nscript, and if scripts are disabled the video objects will\nbehave as they have through version 1.0.6. On mobile platforms\nJavaScript is necessary because on those platforms the plugin now \nbuilds the elements by script rather than putting out HTML\ndirectly. (It is probably uncommon and impractical for\nscripting to be disabled in mobile browsers.)<\/li>\n<li>There is a new input field on the setup forms, just below the\ndimensions fields. This is to provide a width to use only\nif a mobile browser is detected; the height is automatically\nproportional, according to the regular dimensions. This might\nbe useful for widgets placed on the sidebar, because the\nsidebar might be placed below, rather than beside, the main\ncontent. In this case more space might be available, and\nlarger display might be suitable. This feature is disabled\nwith a value of '0' which is the default. Experiment.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Added do-nothing index.php to prevent directory listing, as WP does.<\/li>\n<li>Made the \"Screen Options\" tab -&gt; \"Section Introductions\" checkbox\nvalue persistent, if the \"Save Settings\" button is clicked.<\/li>\n<li>Style tweaks and size tweaks (admin) in response to WP 3.8 changes.<\/li>\n<li>Checked with WP 3.8: OK.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>BUG[unimportant]: tested a defined(FOO) (rather than 'FOO'),\nbut PHP handles that common mistake anyway, and\nit could only matter in the very exceedingly extremely unlikely\ncase that a .mo translation binary for this plugin's\ntext domain has been installed under the WP's WP_LANG_DIR.<\/li>\n<li>Added check for naughty direct invocation.<\/li>\n<li>Checked (Oct 25 2013) with just-released WP 3.7: OK.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fixed duplicated message on settings page update resulting from\nunneeded settings_errors() call: this call did not cause a dup\nfrom 3.0.1 to 3.3.1 (but was not needed either), but between\nWP 3.3.1 and 3.5.? some core guard against the duplicate was\nremoved (or broken?).<\/li>\n<li>Updated swf object element and added optional alternative\nimg and video (html5) nested elements. Removed classid from\nobject, except when MSIE is in user agent string. (inspired\nby suggestion from aileenf).<\/li>\n<li>Added help tabs.<\/li>\n<li>Some code cleanups.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Maintenance.<\/li>\n<li>Put i18n final code (__() was already present), added make rules to\nbuild *.mo using (added) script in new locale dir, added FPO\/test\nen_US.mo, confirmed working with dummy string replacement.<\/li>\n<li>Changed Opt* support classes to use display strings borrowed\nexactly from WP (3.6) core; these classes are not tied to this\nplugin and should not use its text-domain. Using core strings,\nthey might still get translated (might get translated when the\nplugin does not -- that is deemed OK).<\/li>\n<li>Added is_admin() check in init code to avoid setting admin-only\nhooks when not needed (and executing associated code); plus a\nfew more specific current_user_can() checks.<\/li>\n<li>Increased maximum \"attachment\" queried when finding suitable\nmedia files to present in posts\/pages shortcode form.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Corrections in (vaguely distinguished)\nadd_(action|filter) calls, according to tag used, checked against\nWP source (whether do_action() or apply_filters() is invoked\nfor the tag in question).<\/li>\n<li>Changed JS unescape() to decodeURIComponent().<\/li>\n<li>Removed compiled README.{tty,tt8} from distribution.<\/li>\n<li>Changed 'wptexturize' to 'htmlentities' for paths and things that\nshould not be pretty-pretty'd.<\/li>\n<li>Changed 'Tags:' in readme.txt (and stable, etc.).<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Maintenance.<\/li>\n<li>Editing and corrections in readme.txt.<\/li>\n<li>Behavior change: without initial image ('poster'), medium is no\nlonger fetched automatically (without visitor play); was a\nmisfeature that would simulate an initial image by pausing\nat a random point within first few seconds of the video, but\nthe unsolicited download is a bad idea. (Might be an option\nin future.)<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"SWFPut provides video players for posts and pages and widget areas, as both HTML5 and flash video.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24488"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/edhynan"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24488"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24488"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24488"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24488"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24488"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}