1Version history:
5- #614 when the clip ends if the next clip in the provider has a different provider close the provider stream.
6- #627 only detach / attach the display on start events which causes issues in buffering events after a seek in stagevideo.
7- #627 re-enable stagevideo state change listeners if stagevideo is available or detach the fullscreen events on first call.
8- #9 when replaying from stopping, connection does not receive callbacks anymore.
9- #15 fixes for #627, handle the display init on startup.
13- Updated to automatically load the latest controls and audio plugins
14- #612 add some logging for the stagevideo render state to determine what mode the hardware acceleration is in for various systems.
15- #628 opera browsers do not return filesize correctly for latest flash players so require to use load completion instead which may help with gzipped files also.
19- new flowplayer.js version 3.2.11,
20   fixes removing the player in fullscreen mode leaves Android locked in landscape orientation (#511)
21- #586 add a bitrate label with a new namespace attribute fp:bitratelabel.
22- #583 fixes for handling the fullscreenOnly property better
23- #494 with relative filenames with a root path strip the baseurl of paths first.
27- new flowplayer.js, now requires Flash 10.1 as the minimum flash version
28- #526 allow click through event for flash installation message when using div containers.
29- #508 disabling the stagevideo screen mask, canvas is visible without it, this was causing issues with the display list.
30- #443 adding accessibility option to the playbuttonoverlay.
35- Fixed #514, scrubbing was broken
36- new flowplayer.js version 3.2.9, fixes #510
40- Fixed #490, controlbar background, buffer bar and progress bar colors were all reset to white
41- #503 Update viewport when stage is added to obtain the coordnates correctly. Update viewport when in and out of fullscreen.
42- #508 stage video mask was being added to the top layer and hiding all children.
46- Added new property clip.backBufferLength, to be used with FMS 3.5
47- Adds support for StageVideo. To enable it set clip.accelerated to true.
48- Tries to reload two times if the stream is not initially found. Also does 3 connection attempts if the connection fails with RTMP.
49- Support for FMS slow motion
50- Support for thumbnails in RSS files
51- Added onPlayStatus clip event handler on NetStreamClient.
52- Added new clip events for stream switching onSwitchFailed and onSwitchComplete
53- made it possible to replay a clip using play(<current_clip's_index>)
56- fixed to dispatch onStart also when replaying the previous clip, now the JS controlbar again works when replaying
57- cuepoints were fired multiple times when there is a playlist with several clips. Issue #150.
58- fixed XML parsing error when metadata's keys contains dashes
59- backgroundImage css property can now be set to "none" to be removed
60- fixed the facts that clips in a playlist were cut off by a fraction in the end
61- fullScreenOnly now works in conjunction with displayTime
62- JS plugins now handles grouped syntax like flowplayer("a.player" /*...*/ )
63- JS function setClip can now be used to add listeners on the new Clip
64- different players with the same configuration stored in a variable can now use JS plugins
65- using linkUrl now works when calling JS function setClip
66- zIndex for plugins works fine now, issue #302
67- onLastSecond was fired twice, issue #300
68- fixed license key verification on subdomains, issue #318
69- fixed XSS vulnerability with linkUrls. Thank you Szymon Gruszecki for discovering and reporting this to us. Issue #329.
70- fixed switch stream api support in paused state. #279.
71- added switching state properties. #339
72- fixed the stopBuffering() API method to close the NetConnection and to clear the screen
73- Issue #355 setup targeting for Flash 10.0 and 10.1 to provide support for Flash 10.0 without Stagevideo requirements.
74- fixed #364, NetConnection unnecessary closed/reconnected when the netConnection does not change from clip to clip
75- xss fix for flashembed #357
76- Issue #384 added links support in context menus with configuration { url: "domain.com", target: "_blank"} which will work in embedded players.
77- #378, javascript method loadPluginWithConfig is unavailable and non existant. Documentation updated required to remove this and updates for loadPlugin like so
78this.loadPlugin("content","../flowplayer.content.swf", { html: "test", top: 30  }); or
79this.loadPlugin("content","../flowplayer.content.swf", { html: "test"  }, function() {
80                        this.css({ top: 30 });
81                    });
82- #191 send the resume event, and no stop event first before reconnecting due to a connection timeout so the player comes out of a paused state correctly.
83- #363 pause stream after metadata not beforehand or else no metadata is sent for rtmp clips .
84- #363 silent seek and force to seek to a keyframe or else video frame will not display initially when paused.
85- #375 clearing the event listeners when adding new video displays prevents new events being added when the playlist is replaced.
86- #391 add message argument to connection failure callback required by some connection providers.
87- #363 add overridable pause to frame for different seek functionality between http and rtmp.
88- #392 possible fix for extensions with no filetypes like rtmp flv clips, require positive index check.
89- #395 apply buffer animation status to VOD streams only.
90- #375 possible fix when replacing the playlist in onBeforeFinish, move replay button to onFinish.
91- #390 correct seek back to a valid time on invalid seeking while seeking in the buffer.
92- #404 implement netstreamplayoptions for http streams, resets the stream or start loading a new stream.
93- fixed an issue in parsing JSON config that contains several comments separated by whitespace
94- new clip property 'stopLiveOnPause'
95- #415 regression issue with #395, stop the buffering animation correctly.
96- #414 problem appears again for very short clips with invalid seek times, make it step back 1 second from the invalid seek time to seek the buffer correctly.
97- #416 enable seekableOnBegin to enable the scrubbar correctly when autobuffering.
98- #423 add the . to clip type extension checks or else files with known extension postfixes within them will be chosen instead.
99- #426 when a plugin width is set to a percentage, x/y is required to be floored or else it will affect the animation engine. specifically for the autohide function.
100- #430 adding event listeners for netconnection to obtain certain events.
101- #430 clear buffering status on connection failure.
102- #430 clear buffering status on stream failure.
103- #412 check for empty baseurl or else player url is appended and affects the url parsing.
104- #439 check for all rtmp streaming protocols when checking for rtmp urls.
105- #442 fix for code error in the javascript api.
106- #461 when we have a clip base url set, we need the complete clip url sent to play2 for http streams.
107- #470 check for a playlist when replacing the playlist with an rss feed.
108- #494 regression issued caused by #412, enable base url correctly.
109- #30 regression caused by character replacements, removing for now and let end user deal with them.
113- Loads the new controlbar plugin version 3.2.5.
115- Fixed 'orig' scaling in fullscreen: http://flowplayer.org/forum/2/10274#post-52646
119- linkUrl should now work better with popup blockers: http://code.google.com/p/flowplayer-core/issues/detail?id=31
120- new linkWindow value "_popup" opens the linked page in a popup browser window
121- added new onClipResized event
122- Added new onUnload event, can be only listened in Flash and not triggered to JS
123- API: Added new url property to plugin objects
125- it was not possible to call play() in an onFinish listener
126- fix to preserve the infoObject for custom netStream and netConnection clients in cases where the infoObject is a
127  primitive object without properties
128- does not show the error dialog in the debugger player when showErrors: false
129- fixed to correctly handle xx.ca subdomains when validating the license key
130- a custom logo is now sized correctly according to the configured size
131- does not show the buffer animation any more when the player receives the onBufferEmpty message from the netStream.
132  The animation was unnecessarily shown in some situations.
133- fixed #155. added new urlEncoding property to Clip for url ncoding ut8 urls
137- added new scaling option 'crop' that resizes to fill all available space, cropping on top/bottom or left/right
138- improvements to RSS file parsing
139- Now displays a hand cursor when a linkUrl is used in clips
143- new flowplayer.js version, with Apple iDevice fixes
147- a new 'type' clip property exposed to JS
148- changed the clip type property to better work as a read-write property. Now accepts 'video', 'audio',
149  'image' and 'api' as configuration values.
150- moved parallel rtmp connection mechanism from the RTMP plugin to Core so other plugins can use it (ie: securestreaming)
152- fixed #112, wrong URL computation when using clip with relative URL on a page with a / after a # in its url
153- fixed #111, wrong behavior of pre/post roll images with duration 0
154- fixed multiple license keys logic
156- correct verification of license keys in *.ca domains
157- fix to make playback to always reach end of video
158- fixed resuming of live streams
163- Now recognizes following kind of urls as audio clips: 'mp3:audiostreamname' (ulrs with mp3 prefix and no extension)
164- Now ignores the duration from metadata if we already got one. Fix required for pseudostreaming
165- Fix to reuse buffered data when replaying a clip
169- Support for RTMP redirects (tested with Wowza loadbalancing)
170- Fixed video size when no size info available in clip metadata
173- Fix to correctly detect if the player SWF name contains a version number and if it does also use the version number
174when it automatically loads the controls plugin.
178- canvas, controlbar and the content plugin backgound color and border color can be now given with rgb() and rgba() CSS style syntax
179- Added onMouseOver() and onMouseOut() listener registration methods to the Flowplayer API
180- enhancements to RSS playlist. Converted parsing to E4X, yahoo media and flowplayer namespace support.
181- added feature to obtain bitrate and dimension information to a new clip custom property "bitrates" for future support for bitrate choosing.
182- added getter for playerSwfName config
183- if clip.url has the string "mp3:" in it, the clip.type will report 'audio'
184- added setKeyboardShortcutsEnabled(), addKeyListener(), removeKeyListener() to FlowplayerBase
186- onSeek() was not fired when seeking while paused and when using RTMP. An extra onStart was fired too.
187- fireErrorExternal() was not working properly with an error PlayerEvent
188- countPlugins() was throwing an error when a plugin was not found
189- external swf files were not scaled properly
190- the logo was unnecessary shown when going fullscreen if logo.displayTime was being used
191- added a loadPluginWithConfig method to FlowplayerBase, accessible from javascript. Fixed double onload callback call.
192- now handles cuepoint parameters injected using the Adobe Media Encoder
193- showPlugin was not working when config.play was null
194- handles 3-part duration values included in FLV metadata, like "500.123.123"
195- player wasn't always reaching end of video
196- fixed broken buffering: false
197- fixed event dispatching when embedding flowplayer without flowplayer.js (=without playlist config field)
198- fixed safari crashes when unloading player
199- fixed scrubber behaviour with a playlist containing 2 images (or swf) in a row
200- fixed errors in logs when using an RSS playlist
201- fixed OverlayPlayButton that was showing even if it shouldn't on some cases
202- fixed wrong behavior when onBeforeFinish was returning false within playlists
203- /!\ Don't use the fadeIn / fadeOut controlbar's API while using autoHide.
204- fixed play state button with images
205- fixed splash image flickering
210- The player went to a locked state when resuming playback after a period that was long enought to send the
211netConnection to an invalid state. Now when resuming playback on an invalid connection the clip starts again from
212the beginning. This is only when using RTMP connections and does not affect progressive download playback.
213- Custom netConnect and netStream events did not pass the info object to JS listeners
218- player did not initialize if the controlbar plugin was disabled and if the play button overlay was disabled with play: null
219- works properly without cachebusting on IE
220- RSS playlist parsing now respects the isDefault attribute used in mRSS media group items
221- Fixed passing of connection arguments
225- enhancements to RSS playlist parsing: Now skips all media:content that have unsupported types. Now the type attribute
226of the media:content element is mandatory and has to be present in the RSS file
227- Possibility to pass a RSS file name with playFeed("playlist.rss") and setPlaylist("playlist.rss") calls.
228- changes to the ConnectionProvider and URLResolver APIs
229- Now automatically uses a plugin that is called 'rtmp' for all clips that have the rtmp-protocol in their URLs.
230- Added possibility to specify all clip properties in an RSS playlist
233- the result of URL resolvers in now cached, and the resolvers will not be used again when a clip is replayed
234- some style properties like 'backgroundGradient' had no effect in config
235- video goes tiny on Firefox: http://flowplayer.org/forum/8/23226
236- RSS playlists: The 'type' attribute value 'audio/mp3' in the media:content element caused an error.
237- Dispatches onMetadata() if an URL resolver changes the clip URL (changes to a different file)
238- error codes and error message were not properly passed to onEvent JS listeners
242- The domain of the logo url must the same domain from where the player SWF is loaded from.
243- Fullscreen can be toggled by doublclick on the video area.
245- Player was not initialized correctly when instream playlists were used and the provider used in the instream clips was defined in the common clip.
246- A separator in the Context Menu made the callbacks in the following menu items out of order. Related forum post: http://flowplayer.org/forum/8/22541
247- the width and height settings of a logo were ignored if the logo was a sWF file
248- volume control and mute/unmute were not working after an instream clip had been played
249- now possible to use RTMP for mp3 files
250- Issue 12: cuepointMultiplier was undefined in the clip object set to JS event listeners
251- Issue 14: onBeforeStop was unnecessarily fired when calling setPlaylist() and the player was not playing,
252            additionally onStop was never fired even if onBeforeStop was
253- fixed screen vertical placement problems that reappeared with 3.1.1
254- The rotating animation now has the same size and position as it has after initialized
258- External configuration files
259- Instream playback
260- Added toggleFullscreen() the API
261- Possibility to specify controls configuration in clips
262- Seek target position is now sent in the onBeforeSeek event
264- The screen size was initially too small on Firefox (Mac)
265- Did not persist a zero volume value: http://www.flowplayer.org/forum/8/18413
269New features:
270- clip's can have urlResolvers and connectionProviders
271- Added new configuration options 'connectionCallbacks' and 'streamCallbacks'. Both accept an Array of event names as a value.
272  When these events get fired on the connection or stream object, corresponding Clip events will be fired by the player.
273  This can be used for example when firing custom events from RTMP server apps
274- Added new clip event types: 'onConnectionEvent' and 'onStreamEvent' these get fired when the predefined events happen on the connection and stream objects.
275- Added Security.allowDomain() to allow loaded plugins to script the player
276- Added addClip(clip, index) to the API, index is optional
277- Possibility to view videos without metadata, using clip.metaData: false
278- Now the player's preloader uses the rotating animation instead of a percent text to indicate the progress
279  of loading the player SWF. You can disable the aninamtion by setting buffering: false
280- calling close() now does not send the onStop event
281- Clip's custom properties are now present in the root of the clip argument in all clip events that are sent to JS.
283Bug fixes:
284- The preloader sometimes failed to initialize the player
285- Allow seeking while in buffering state: http://flowplayer.org/forum/8/16505
286- Replay of a RTMP stream was failing after the connection had expired
287- Security error when clicking on the screen if there is an image in the playlist loaded from a foreign domain
288- loadPlugin() was not working
289- now fullscreen works with Flash versions older than 9.0.115, in versions that do not support hardware scaling
290- replaying a RTMP stream with an image in front of the stream in the playlist was not working (video stayed hidden). Happened
291  because the server does not send metadata if replaying the same stream.
292- the scrubber is disabled if the clip is not seekable in the first frame: http://flowplayer.org/forum/8/16526
293  By default if the clip has one of following extensions (the typical flash video extensions) it is seekable
294  in the first frame: 'f4b', 'f4p', 'f4v', 'flv'. Added new clip property seekableOnBegin that can be used to override the default.
298- added possibility to associate a linkUrl and linkWindow to the canvas
300- fix for entering fullscreen for Flash versions that don't support the hardware scaled fullscreen-mode
301- when showing images the duration tracking starts only after the image has been completely loaded: http://flowplayer.org/forum/2/15301
302- fix for verifying license keys for domains that have more than 4 labels in them
303- if plugin loading failis because of a IO error, the plugin will be discarded and the player initialization continues:
307- The "play" pseudo-plugin now supports fadeIn(), fadeOut(), showPlugin(), hidePlugin() and
308  additionally you can configure it like this:
309  // make only the play button invisible (buffering animation is still used)
310  play: { display: 'none' }
311  // disable the play button and the buffering animation
312  play: null
313  // disable the buffering animation
314  buffering: null
315- Added possibility to seek when in the buffering state: http://flowplayer.org/forum/3/13896
316- Added copyright notices and other GPL required entries to the user interface
319- clip urls were not resolved correctly if the HTML page URL had a query string starting with a question mark (http://flowplayer.org/forum/8/14016#post-14016)
320- Fixed context menu for with IE (commercial version)
321- a cuepoint at time zero was fired several times
322- screen is now arranged correctly even when only bottom or top is defined for it in the configuration
323- Fixed context menu for with IE (commercial version)
324- a cuepoint at time zero was fired several times
325- screen is now arranged correctly even when only bottom or top is defined for it in the configuration
326- Now possible to call play() in an onError handler: http://flowplayer.org/forum/8/12939
327- Does not throw an error if the player cannot persist the volume on the client computer: http://flowplayer.org/forum/8/13286#post-13495
328- Triggering fullscreen does not pause the player in IE
329- The play button overlay no longer has a gap between it's pieces when a label is used: http://flowplayer.org/forum/8/14250
330- clip.update() JS call now resets the duration
331- a label configured for the play button overlay did not work in the commercial version
335- fixed cuepoint firing: Does not skip cuepoints any more
336- Plugins can now be loaded from a different domain to the flowplayer.swf
337- Specifying a clip to play by just using the 'clip' node in the configuration was not working, a playlist definition was required. This is now fixed.
338- Fixed: A playlist with different providers caused the onMetadata event to fire events with metadata from the previous clip in the playlist. Occurred when moving in the playlist with next() and prev()
339- the opacity setting now works with the logo
340- fadeOut() call to the "screen" plugin was sending the listenerId and pluginName arguments in wrong order
341- stop(), pause(), resume(), close() no longer return the flowplayer object to JS
342- changing the size of the screen in a onFullscreen listener now always works, there was a bug that caused this to fail occasionally
343- fixed using arbitrary SWFs as plugins
344- the API method setPlaylist() no longer starts playing if autoPlay: true, neither it starts buffering if autoBuffering: true
345- the API method play() now accepts an array of clip objects as an argument, the playlist is replaced with the specified clips and playback starts from the 1st clip
349- setting play: null now works again
350- pressing the play again button overlay does not open a linkUrl associated with a clip
351- now displays a live feed even when the RTMP server does not send any metadata and the onStart method is not therefore dispatched
352- added onMetaData clip event
353- fixed 'orig' scaling: the player went to 'fit' scaling after coming back from fullscreen. This is now fixed and the original dimensions are preserved in non-fullscreen mode.
354- cuepoint times are now given in milliseconds, the firing precision is 100 ms. All cuepoint times are rounded to the nearest 100 ms value (for example 1120 rounds to 1100)
355- backgroundGradient was drawn over the background image in the canvas and in the content and controlbar plugins. Now it's drawn below the image.
356- added cuepointMultiplier property to clips. This can be used to multiply the time values read from cuepoint metadata embedded into video files.
357- the player's framerate was increased to 24 FPS, makes all animations smoother
361- Fixed negative cuepoints from common clip. Now these are properly propagated to the clips in playlist.
362- buffering animation is now the same size as the play button overlay
363- commercial version now supports license keys that allows the use of subdomains
364- error messages are now automatically hidden after a 4 second delay. They are also hidden when a new clips
365  starts playing (when onBeforeBegin is fired)
366- added possibility to disable the buffering animation like so: buffering: false
367- pressing the play button overlay does not open a linkUrl associated with a clip
368- license key verification failed if a port number was used in the URL (like in this url: http://mydomain.com:8080/video.html)
369- added audio support, clip has a new "image" property
370- workaround for missing "NetStream.Play.Start" notfication that was happending with Red5. Because of this issue the video was not shown.
371- commercial version has the possibility to change the zIndex of the logo
375- Removed security errors that happened when loading images from foreign domains (domains other than the domain of the core SWF).
376  Using a backgroundImage on canvas, in the content plugin, and for the controls is also possible to be loaded
377  from a foreign domain - BUT backgroundRepeat cannot be used for foreign images.
378- Now allows the embedding HTML to script the player even if the player is loaded from another domain.
379- Added a 'live' property to Clips, used for live streams.
380- A player embedded to a foreign domain now loads images, css files and other resources from the domain where the palyer SWF was loaded from. This is to generate shorter embed-codes.
381- Added linkUrl and linkWindow properties to the logo, in commercial version you can set these to point to a linked page. The linked page gets opened
382  when the logo is clicked.  Possible values for linkWindow:
383    * "_self" specifies the current frame in the current window.
384    * "_blank" specifies a new window.
385    * "_parent" specifies the parent of the current frame.
386    * "_top" specifies the top-level frame in the current window.
387- Added linkUrl and linkWindow properties to clips. The linked page is opened when the video are is clicked and the corresponding clip has a linkUrl specified.
388- Made the play button overlay and the "Play again" button slightly bigger.
392- Now shows a "Play again" button at the end of the video/playlist
393- Commercial version shows a Flowplayer logo if invalidKey was supplied, but the otherwise the player works
394- setting play: null in configuration will disable the play button overlay
395- setting opacity for "play" also sets it for the buffering animation
396- Fixed firing of cuepoints too early. Cuepoint firing is now based on stream time and does not rely on timers
397- added onXMPData event listener
398- Should not stop playback too early before the clip is really completed
399- The START event is now delayed so that the metadata is available when the event is fired, METADATA event was removed,
400  new event BEGIN that is dispatched when the playback has been successfully started. Metadata is not normally
401  available when BEGIN is fired.
405- stopBuffering() now dispatches the onStop event first if the player is playing/paused/buffering at the time of calling it
406- fixed detection of images based on file extensions
407- fixed some issues with having images in the playlist
408- made it possible to autoBuffer next video while showing an image (image without a duration)
412- fixed: setting the screen height in configuration did not have any effect
416- better error message if plugin loading fails, shows the URL used
417- validates our redesigned multidomain license key correctly
418- fix to prevent the play button going visible when the onBufferEmpty event occurs
419- the commercial swf now correctly loads the controls using version information
420- fixed: the play button overlay became invisible with long fadeOutSpeeds
424- removed the onFirstFramePause event
425- playing a clip for the second time caused a doubled sound
426- pausing on first frame did not work on some FLV files
430- logo only uses percentage scaling if it's a SWF file (there is ".swf" in it's url)
431- context menu now correctly builds up from string entries in configuration
432-always closes the previous connection before starting a new clip
436- now it's possible to load a plugin into the panel without specifying any position/dimensions
437 information, the plugin is placed to left: "50%", top: "50%" and using the plugin DisplayObject's width & height
438- The Flowplayer API was not fully initialized when onLoad was invoked on Flash plugins
442- tweaking logo placement
443- "play" did not show up after repeated pause/resume
444- player now loads the latest controls SWF version, right now the latest SWF is called 'flowplayer.controls-3.0.0-beta2.swf'
448- fixed support for RTMP stream groups
449- changed to loop through available fonts in order to find a suitable font also in IE
450- Preloader was broken on IE: When the player SWf was in browser's cache it did not initialize properly
451- Context menu now correctly handles menu items that are configured by their string labels only (not using json objects)
452- fixed custom logo positioning (was moved to the left edge of screen in fullscreen)
453- "play" now always follows the position and size of the screen
454- video was stretched below the controls in fullscreen when autoHide: 'never'
455- logo now takes 6.5% of the screen height, width is scaled so that the aspect ratio is preserved
459- First public beta release