I'd like to add the player to a page directly in a div using only swfobject without these object tags generated by dreamweaver but I get a 'Play List XML not loaded!' error.
I've converted all the Params and Flashvars that were generated by dreamweaver into js objects and I call swfobject.embedSWF with these config objects.
The playlist definition is like that :
_videoType: 'File (URL)' and
PlayListXML_path: 'http://www.domain.tld/flash/player/playlists/homepage.xml'
The player swf is located in http://www.domain.tld/flash/player/.
The playlist xml displays correctly in a web browser.
Did I miss something? Is it possible to get it work this way?
Thx in advance for your help.
King regards,
Vincent Louvet
Answer:
The PlayListXML_path var needs to be quoted and escaped ...
That's a bit weird because it doesn't do that with the other variables.
This is an example code working with swfobject:
if(!swfobject)
{
alert('swfobject missing!');
return;
}
var flashvars = {
PlayListXML_path: '\'http://www.domain.tld/flash/player/playlists/homepage.xml\'',
_showMainBar: true,
_skin: 'Default',
_mainbarAutoHide: true,
_mainbar_Alpha: 100,
_mainbar_Top: '#333333',
_mainbar_Bottom: '#000000',
_loadSkin: false,
_thumbnailCarousel: true,
_fixedWidth: 400,
_fixedHeight: 226,
_videoProportions: true,
_autoSize: true,
_autoPlay: false,
_loop: false,
_bufferTime: 2,
_buttonToolTips: false,
_buttonsColor: '#FFFFFF',
_volumeAudio: 60,
_seekBar_color: '#ffa707',
_showEmailButton: false,
_showEmbedButton: false,
_showFullscreenButton: true,
_showPlayListButton: true,
_showTimerButton: true,
_showVideoPropButton: false,
_showVolumeButton: true,
_fontFamily: 'Default Embedded Font',
_fontSize: 8,
_emailSubjectTitle: '',
_emailBodyText: '',
_buttonToolTipsList: ['stop','play','pause','played time / all time','sound volume','playlist','html code and link','send to friend','video properties','fullscreen mode'],
_addexterpl: false,
_plbgcolor: '#000000',
_plwidth: 480,
_plheight: 272,
_ownerLogoIMGPath: 'logo.png',
_ownerLogoAlpha: 0,
_ownerLogoLink: '#',
_rightClickMenuCopyright: 'VL',
_rightClickMenuCopyrightLink: '#',
_rightClickMenuCopyrightTarget: '_blank',
_objectID: 'video'
};
var params = {
allowFullScreen: 'true',
wmode: 'transparent',
quality: 'high',
allowScriptAccess: 'always',
swliveconnect: true,
allowFullScreen: true,
swfversion: '8.0.0.0'
};
swfobject.embedSWF('http://www.domain.tld/flash/player/player.swf', 'video', '400', '225', '9.0.115', '/scripts/lib/swfobject/expressInstall.swf', flashvars, params);
Tuesday, June 9, 2009
Friday, June 5, 2009
FLV player: Choppy video playback
Some videos seem to play smoothly in Firefox and Safari but they choppy playback in Internet Explorer.
Answer:
You are right. All problem in Flash ActiveX plugin in the Internet Explorer. It saves computer memory (CPU) and accordingly not smoothly plays some videos. But in the last IE8 browser I have not noticed such problems.
Answer:
You are right. All problem in Flash ActiveX plugin in the Internet Explorer. It saves computer memory (CPU) and accordingly not smoothly plays some videos. But in the last IE8 browser I have not noticed such problems.
-------
1. It is necessary to increase buffer time.
2. The using of RTMP server (Streaming video) can help.
3. Try other adjustments at the video file creation.
-------
2. The using of RTMP server (Streaming video) can help.
3. Try other adjustments at the video file creation.
-------
Thursday, May 7, 2009
FLV player: Metadata location in FLV
How to make the player load and play the video (in FLV format) without have to load the whole data first? Now, flv player have to load the whole data first before it can play.
Answer:
Try post processing your FLV video file with FLVMDI. It puts the metadata at the beginning of the FLV so it begins to play immediately.
http://www.buraks.com/flvmdi/
Answer:
Try post processing your FLV video file with FLVMDI. It puts the metadata at the beginning of the FLV so it begins to play immediately.
http://www.buraks.com/flvmdi/
FLV player: No sound in video
Why in my video file music is not played?
Answer:
The WebStunning FLV Player is Flash based, so it can only use video/audio codecs that are supported by the Adobe Flash Player.
See: http://kb2.adobe.com/cps/402/kb402866.html for a list of the supported codecs.
Answer:
The WebStunning FLV Player is Flash based, so it can only use video/audio codecs that are supported by the Adobe Flash Player.
See: http://kb2.adobe.com/cps/402/kb402866.html for a list of the supported codecs.
FLV player: Creation of correct HD file
How you create correct HD files?
Answer:
We create all our HD videos in free codec - SUPER, you can download it from http://www.erightsoft.com/SUPER.html
Adobe player considers HD video of such formats: MP4, MOV or M4V (popular).
PS. FLV format cannot be correct for HD viewing on fullscreen.
FLV Player: MOV file loading time
I find the loadintimes long, what can I do to make it shorter.
Answer:
The problem in Metadata in MOV file. Your Metadata in the end of MOV file and the player does not know duration of video on start. Therefore it loads video completely and then plays.
It is a known problem of MOV files. Probably you need to take advantage of other program for creation of your MOV files or convert MOV to FLV.
I have found one program, maybe it help you:
http://www.applesolutions.com/bantha/MH.html
See also:
http://www.datagoround.com/lab/index.html
http://www.rndware.info/content/MetadataMover
Answer:
The problem in Metadata in MOV file. Your Metadata in the end of MOV file and the player does not know duration of video on start. Therefore it loads video completely and then plays.
It is a known problem of MOV files. Probably you need to take advantage of other program for creation of your MOV files or convert MOV to FLV.
I have found one program, maybe it help you:
http://www.applesolutions.com/bantha/MH.html
See also:
http://www.datagoround.com/lab/index.html
http://www.rndware.info/content/MetadataMover
Subscribe to:
Posts (Atom)