It would appear that a solution to this problem is to start playback with the player.toggle() call. Thereafter the pause/resume method works as expected.
Andy
Andy
| Registered | Mar 10, 2009 |
| Last login | Jun 17, 2009 |
| Forum posts | 12 |
| Direct URL | http://www.flowplayer.org/forum/users/9048 |
resume(new ClipEvent(ClipEventType.RESUME));
in order to begin playback. This has the desired effect and the transport button becomes a pause symbol. However, when the transport button is then manually operated it issues a resume. Subsequent manual operations work as intended. href="http://blip.tv/file/get/KimAronson-TwentySeconds73213.flv?AWSAccessKeyId=3DJR0A1W8HSUIN6JXRG2&Signature=4gXH9xgQrmbw5xeZqwjIi6ZX33g=&Expires=1240228015"
function createConfig(id, url) {
var config = {
log: { level: 'info' },
plugins: {
synchronised: {
url: 'flowplayer.synchronised.swf'
}
},
clip: {
scaling: 'fit',
url: url,
autoPlay: true,
autoBuffering: true,
bufferLength: 10,
provider: 'synchronised',
synch: true, // run in synchronised mode
master: id === 2 // set as synch master
}
};