MDL-29030 standardise report_courseoverview
[moodle.git] / lib / flowplayer / README.txt
blob4609c6d7c70cb7774c443a7e81877f16b20b0297
1 Version history:
3 3.2.7
4 -----
6 - Loads the new controlbar plugin version 3.2.5. No other functional changes.
8 3.2.6
9 -----
10 - linkUrl should now work better with popup blockers: http://code.google.com/p/flowplayer-core/issues/detail?id=31
11 - new linkWindow value "_popup" opens the linked page in a popup browser window
12 - added new onClipResized event
13 - Added new onUnload event, can be only listened in Flash and not triggered to JS
14 - API: Added new url property to plugin objects
15 Fixes:
16 - it was not possible to call play() in an onFinish listener
17 - fix to preserve the infoObject for custom netStream and netConnection clients in cases where the infoObject is a
18   primitive object without properties
19 - does not show the error dialog in the debugger player when showErrors: false
20 - fixed to correctly handle xx.ca subdomains when validating the license key
21 - a custom logo is now sized correctly according to the configured size
22 - does not show the buffer animation any more when the player receives the onBufferEmpty message from the netStream.
23   The animation was unnecessarily shown in some situations.
24 - fixed #155. added new urlEncoding property to Clip for url ncoding ut8 urls
26 3.2.5
27 -----
28 - added new scaling option 'crop' that resizes to fill all available space, cropping on top/bottom or left/right
29 - improvements to RSS file parsing
30 - Now displays a hand cursor when a linkUrl is used in clips
32 3.2.4
33 -----
34 - new flowplayer.js version, with Apple iDevice fixes
36 3.2.3
37 -----
38 - a new 'type' clip property exposed to JS
39 - changed the clip type property to better work as a read-write property. Now accepts 'video', 'audio',
40   'image' and 'api' as configuration values.
41 - moved parallel rtmp connection mechanism from the RTMP plugin to Core so other plugins can use it (ie: securestreaming)
42 Fixes:
43 - fixed #112, wrong URL computation when using clip with relative URL on a page with a / after a # in its url
44 - fixed #111, wrong behavior of pre/post roll images with duration 0
45 - fixed multiple license keys logic
46 Fixes:
47 - correct verification of license keys in *.ca domains
48 - fix to make playback to always reach end of video
49 - fixed resuming of live streams
51 3.2.2
52 -----
53 Fixes:
54 - Now recognizes following kind of urls as audio clips: 'mp3:audiostreamname' (ulrs with mp3 prefix and no extension)
55 - Now ignores the duration from metadata if we already got one. Fix required for pseudostreaming
56 - Fix to reuse buffered data when replaying a clip
58 3.2.1
59 ---------
60 - Support for RTMP redirects (tested with Wowza loadbalancing)
61 - Fixed video size when no size info available in clip metadata
63 Fixes:
64 - Fix to correctly detect if the player SWF name contains a version number and if it does also use the version number
65 when it automatically loads the controls plugin.
67 3.2.0
68 -----
69 - canvas, controlbar and the content plugin backgound color and border color can be now given with rgb() and rgba() CSS style syntax
70 - Added onMouseOver() and onMouseOut() listener registration methods to the Flowplayer API
71 - enhancements to RSS playlist. Converted parsing to E4X, yahoo media and flowplayer namespace support. 
72 - added feature to obtain bitrate and dimension information to a new clip custom property "bitrates" for future support for bitrate choosing. 
73 - added getter for playerSwfName config
74 - if clip.url has the string "mp3:" in it, the clip.type will report 'audio'
75 - added setKeyboardShortcutsEnabled(), addKeyListener(), removeKeyListener() to FlowplayerBase
76 Fixes:
77 - onSeek() was not fired when seeking while paused and when using RTMP. An extra onStart was fired too.
78 - fireErrorExternal() was not working properly with an error PlayerEvent
79 - countPlugins() was throwing an error when a plugin was not found
80 - external swf files were not scaled properly
81 - the logo was unnecessary shown when going fullscreen if logo.displayTime was being used
82 - added a loadPluginWithConfig method to FlowplayerBase, accessible from javascript. Fixed double onload callback call.
83 - now handles cuepoint parameters injected using the Adobe Media Encoder
84 - showPlugin was not working when config.play was null
85 - handles 3-part duration values included in FLV metadata, like "500.123.123"
86 - player wasn't always reaching end of video
87 - fixed broken buffering: false
88 - fixed event dispatching when embedding flowplayer without flowplayer.js (=without playlist config field)
89 - fixed safari crashes when unloading player
90 - fixed scrubber behaviour with a playlist containing 2 images (or swf) in a row
91 - fixed errors in logs when using an RSS playlist
92 - fixed OverlayPlayButton that was showing even if it shouldn't on some cases
93 - fixed wrong behavior when onBeforeFinish was returning false within playlists
94 - /!\ Don't use the fadeIn / fadeOut controlbar's API while using autoHide.
95 - fixed play state button with images
96 - fixed splash image flickering
98 3.1.5
99 -----
100 Fixes:
101 - The player went to a locked state when resuming playback after a period that was long enought to send the
102 netConnection to an invalid state. Now when resuming playback on an invalid connection the clip starts again from
103 the beginning. This is only when using RTMP connections and does not affect progressive download playback.
104 - Custom netConnect and netStream events did not pass the info object to JS listeners
106 3.1.4
107 -----
108 Fixes:
109 - player did not initialize if the controlbar plugin was disabled and if the play button overlay was disabled with play: null
110 - works properly without cachebusting on IE
111 - RSS playlist parsing now respects the isDefault attribute used in mRSS media group items
112 - Fixed passing of connection arguments
114 3.1.3
115 -----
116 - enhancements to RSS playlist parsing: Now skips all media:content that have unsupported types. Now the type attribute
117 of the media:content element is mandatory and has to be present in the RSS file
118 - Possibility to pass a RSS file name with playFeed("playlist.rss") and setPlaylist("playlist.rss") calls.
119 - changes to the ConnectionProvider and URLResolver APIs
120 - Now automatically uses a plugin that is called 'rtmp' for all clips that have the rtmp-protocol in their URLs.
121 - Added possibility to specify all clip properties in an RSS playlist
123 Fixes:
124 - the result of URL resolvers in now cached, and the resolvers will not be used again when a clip is replayed
125 - some style properties like 'backgroundGradient' had no effect in config
126 - video goes tiny on Firefox: http://flowplayer.org/forum/8/23226
127 - RSS playlists: The 'type' attribute value 'audio/mp3' in the media:content element caused an error.
128 - Dispatches onMetadata() if an URL resolver changes the clip URL (changes to a different file)
129 - error codes and error message were not properly passed to onEvent JS listeners
131 3.1.2
132 -----
133 - The domain of the logo url must the same domain from where the player SWF is loaded from.
134 - Fullscreen can be toggled by doublclick on the video area.
135 Fixes:
136 - Player was not initialized correctly when instream playlists were used and the provider used in the instream clips was defined in the common clip.
137 - 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
138 - the width and height settings of a logo were ignored if the logo was a sWF file
139 - volume control and mute/unmute were not working after an instream clip had been played
140 - now possible to use RTMP for mp3 files
141 - Issue 12: cuepointMultiplier was undefined in the clip object set to JS event listeners
142 - Issue 14: onBeforeStop was unnecessarily fired when calling setPlaylist() and the player was not playing,
143             additionally onStop was never fired even if onBeforeStop was
144 - fixed screen vertical placement problems that reappeared with 3.1.1
145 - The rotating animation now has the same size and position as it has after initialized
147 3.1.1
148 -----
149 - External configuration files
150 - Instream playback
151 - Added toggleFullscreen() the API
152 - Possibility to specify controls configuration in clips
153 - Seek target position is now sent in the onBeforeSeek event
154 Fixes:
155 - The screen size was initially too small on Firefox (Mac)
156 - Did not persist a zero volume value: http://www.flowplayer.org/forum/8/18413
158 3.1.0
159 -----
160 New features:
161 - clip's can have urlResolvers and connectionProviders
162 - Added new configuration options 'connectionCallbacks' and 'streamCallbacks'. Both accept an Array of event names as a value.
163   When these events get fired on the connection or stream object, corresponding Clip events will be fired by the player.
164   This can be used for example when firing custom events from RTMP server apps
165 - Added new clip event types: 'onConnectionEvent' and 'onStreamEvent' these get fired when the predefined events happen on the connection and stream objects.
166 - Added Security.allowDomain() to allow loaded plugins to script the player
167 - Added addClip(clip, index) to the API, index is optional
168 - Possibility to view videos without metadata, using clip.metaData: false
169 - Now the player's preloader uses the rotating animation instead of a percent text to indicate the progress
170   of loading the player SWF. You can disable the aninamtion by setting buffering: false
171 - calling close() now does not send the onStop event
172 - Clip's custom properties are now present in the root of the clip argument in all clip events that are sent to JS.
174 Bug fixes:
175 - The preloader sometimes failed to initialize the player
176 - Allow seeking while in buffering state: http://flowplayer.org/forum/8/16505
177 - Replay of a RTMP stream was failing after the connection had expired
178 - Security error when clicking on the screen if there is an image in the playlist loaded from a foreign domain
179 - loadPlugin() was not working
180 - now fullscreen works with Flash versions older than 9.0.115, in versions that do not support hardware scaling
181 - replaying a RTMP stream with an image in front of the stream in the playlist was not working (video stayed hidden). Happened
182   because the server does not send metadata if replaying the same stream.
183 - the scrubber is disabled if the clip is not seekable in the first frame: http://flowplayer.org/forum/8/16526
184   By default if the clip has one of following extensions (the typical flash video extensions) it is seekable
185   in the first frame: 'f4b', 'f4p', 'f4v', 'flv'. Added new clip property seekableOnBegin that can be used to override the default.  
187 3.0.6
188 -----
189 - added possibility to associate a linkUrl and linkWindow to the canvas
190 Fixes:
191 - fix for entering fullscreen for Flash versions that don't support the hardware scaled fullscreen-mode
192 - when showing images the duration tracking starts only after the image has been completely loaded: http://flowplayer.org/forum/2/15301
193 - fix for verifying license keys for domains that have more than 4 labels in them
194 - if plugin loading failis because of a IO error, the plugin will be discarded and the player initialization continues:
196 3.0.4
197 -----
198 - The "play" pseudo-plugin now supports fadeIn(), fadeOut(), showPlugin(), hidePlugin() and
199   additionally you can configure it like this:
200   // make only the play button invisible (buffering animation is still used)
201   play: { display: 'none' }
202   // disable the play button and the buffering animation
203   play: null
204   // disable the buffering animation
205   buffering: null 
206 - Added possibility to seek when in the buffering state: http://flowplayer.org/forum/3/13896
207 - Added copyright notices and other GPL required entries to the user interface
209 Fixes:
210 - 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)
211 - Fixed context menu for with IE (commercial version)
212 - a cuepoint at time zero was fired several times
213 - screen is now arranged correctly even when only bottom or top is defined for it in the configuration
214 - Fixed context menu for with IE (commercial version)
215 - a cuepoint at time zero was fired several times
216 - screen is now arranged correctly even when only bottom or top is defined for it in the configuration
217 - Now possible to call play() in an onError handler: http://flowplayer.org/forum/8/12939
218 - Does not throw an error if the player cannot persist the volume on the client computer: http://flowplayer.org/forum/8/13286#post-13495
219 - Triggering fullscreen does not pause the player in IE
220 - The play button overlay no longer has a gap between it's pieces when a label is used: http://flowplayer.org/forum/8/14250
221 - clip.update() JS call now resets the duration
222 - a label configured for the play button overlay did not work in the commercial version
224 3.0.3
225 -----
226 - fixed cuepoint firing: Does not skip cuepoints any more
227 - Plugins can now be loaded from a different domain to the flowplayer.swf
228 - 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.
229 - 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()
230 - the opacity setting now works with the logo
231 - fadeOut() call to the "screen" plugin was sending the listenerId and pluginName arguments in wrong order
232 - stop(), pause(), resume(), close() no longer return the flowplayer object to JS
233 - changing the size of the screen in a onFullscreen listener now always works, there was a bug that caused this to fail occasionally
234 - fixed using arbitrary SWFs as plugins
235 - the API method setPlaylist() no longer starts playing if autoPlay: true, neither it starts buffering if autoBuffering: true
236 - 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
238 3.0.2
239 -----
240 - setting play: null now works again
241 - pressing the play again button overlay does not open a linkUrl associated with a clip
242 - now displays a live feed even when the RTMP server does not send any metadata and the onStart method is not therefore dispatched
243 - added onMetaData clip event
244 - 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.
245 - 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) 
246 - backgroundGradient was drawn over the background image in the canvas and in the content and controlbar plugins. Now it's drawn below the image.
247 - added cuepointMultiplier property to clips. This can be used to multiply the time values read from cuepoint metadata embedded into video files.
248 - the player's framerate was increased to 24 FPS, makes all animations smoother
250 3.0.1
251 -----
252 - Fixed negative cuepoints from common clip. Now these are properly propagated to the clips in playlist.
253 - buffering animation is now the same size as the play button overlay
254 - commercial version now supports license keys that allows the use of subdomains
255 - error messages are now automatically hidden after a 4 second delay. They are also hidden when a new clips
256   starts playing (when onBeforeBegin is fired)
257 - added possibility to disable the buffering animation like so: buffering: false
258 - pressing the play button overlay does not open a linkUrl associated with a clip
259 - license key verification failed if a port number was used in the URL (like in this url: http://mydomain.com:8080/video.html)
260 - added audio support, clip has a new "image" property
261 - workaround for missing "NetStream.Play.Start" notfication that was happending with Red5. Because of this issue the video was not shown.
262 - commercial version has the possibility to change the zIndex of the logo
264 3.0.0
265 -----
266 - Removed security errors that happened when loading images from foreign domains (domains other than the domain of the core SWF).
267   Using a backgroundImage on canvas, in the content plugin, and for the controls is also possible to be loaded
268   from a foreign domain - BUT backgroundRepeat cannot be used for foreign images.
269 - Now allows the embedding HTML to script the player even if the player is loaded from another domain.
270 - Added a 'live' property to Clips, used for live streams.
271 - 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.
272 - 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
273   when the logo is clicked.  Possible values for linkWindow:
274     * "_self" specifies the current frame in the current window.
275     * "_blank" specifies a new window.
276     * "_parent" specifies the parent of the current frame.
277     * "_top" specifies the top-level frame in the current window.
278 - 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.
279 - Made the play button overlay and the "Play again" button slightly bigger.
283 - Now shows a "Play again" button at the end of the video/playlist
284 - Commercial version shows a Flowplayer logo if invalidKey was supplied, but the otherwise the player works
285 - setting play: null in configuration will disable the play button overlay
286 - setting opacity for "play" also sets it for the buffering animation
287 - Fixed firing of cuepoints too early. Cuepoint firing is now based on stream time and does not rely on timers
288 - added onXMPData event listener
289 - Should not stop playback too early before the clip is really completed
290 - The START event is now delayed so that the metadata is available when the event is fired, METADATA event was removed,
291   new event BEGIN that is dispatched when the playback has been successfully started. Metadata is not normally
292   available when BEGIN is fired. 
296 - stopBuffering() now dispatches the onStop event first if the player is playing/paused/buffering at the time of calling it
297 - fixed detection of images based on file extensions
298 - fixed some issues with having images in the playlist
299 - made it possible to autoBuffer next video while showing an image (image without a duration)
303 - fixed: setting the screen height in configuration did not have any effect
306 -----
307 - better error message if plugin loading fails, shows the URL used
308 - validates our redesigned multidomain license key correctly
309 - fix to prevent the play button going visible when the onBufferEmpty event occurs
310 - the commercial swf now correctly loads the controls using version information
311 - fixed: the play button overlay became invisible with long fadeOutSpeeds
313 beta6
314 -----
315 - removed the onFirstFramePause event
316 - playing a clip for the second time caused a doubled sound
317 - pausing on first frame did not work on some FLV files
319 beta5
320 -----
321 - logo only uses percentage scaling if it's a SWF file (there is ".swf" in it's url)
322 - context menu now correctly builds up from string entries in configuration
323 -always closes the previous connection before starting a new clip
325 beta4
326 -----
327 - now it's possible to load a plugin into the panel without specifying any position/dimensions
328  information, the plugin is placed to left: "50%", top: "50%" and using the plugin DisplayObject's width & height
329 - The Flowplayer API was not fully initialized when onLoad was invoked on Flash plugins
331 beta3
332 -----
333 - tweaking logo placement
334 - "play" did not show up after repeated pause/resume
335 - player now loads the latest controls SWF version, right now the latest SWF is called 'flowplayer.controls-3.0.0-beta2.swf'
337 beta2
338 -----
339 - fixed support for RTMP stream groups
340 - changed to loop through available fonts in order to find a suitable font also in IE
341 - Preloader was broken on IE: When the player SWf was in browser's cache it did not initialize properly
342 - Context menu now correctly handles menu items that are configured by their string labels only (not using json objects)
343 - fixed custom logo positioning (was moved to the left edge of screen in fullscreen)
344 - "play" now always follows the position and size of the screen
345 - video was stretched below the controls in fullscreen when autoHide: 'never'
346 - logo now takes 6.5% of the screen height, width is scaled so that the aspect ratio is preserved
348 beta1
349 -----
350 - First public beta release