Hi
I am new in Drupal. I have installed FLV media player & place the mediaplayer.swf file (from http://www.jeroenwijering.com/?item=JW_FLV_Player ) in this "flvmediaplayer" directory and set configuration options per content type at admin/settings/flvmediaplayer .
I followed these steps to install "swfobject_api" module
1) Please module into modules directory
2) Download SWFObject library from:
http://blog.deconcept.com/swfobject/#download
3) Place the swfobject.js file into modules/swfobject_api/
4) Place the expressinstall.swf file into modules/swfobject_api/
5) Activate module in admin/build/modules
6) Configure the module via admin/settings/swfobject_api
i installed "XSPF Playlist" also ans media file as "XSPF Playlist for each node"
I enabled player for "story " content type
I uploaded one "20051210-w50s.flv " in story attachment but player is not displayed but only flash is available on story page . on right click some option like "about JW player 3.16" "about adobe flash player 9".
Please help me what is missed by me to install JW player.
Thanks in advance
Braham
Comments
Comment #1
braham.p CreditAttribution: braham.p commentedComment #2
vv33 CreditAttribution: vv33 commentedYou must enable the swf tags
Administer -> Site Configuration -> Input format and select Configure behind Filtered HTML.
Select at the top configure again. You now see a text area with the label: Allowed HTML tags. Add the following tags at the end; "swf " and "swf list".
Save configuration!
Hope this helps
Comment #3
arthurf CreditAttribution: arthurf commentedIf you can give us a url, it will be easier to help you, but it sounds like you didn't set FLVMediaplayer to use the XSPF playlist- go back to that configuration, and confirm that.
Comment #4
xoail CreditAttribution: xoail commentedHi Arthurf,
I am also a little bit confused here. I've been stuck here since last 2 days.. researched here and there but no help.
I am trying to add flv player on a node and run a playlist created via xspf.
This is what I did:
Installed swfobject_api successfully
Installed xspf-playlist and configured it successfully. I came to a point where I am able to view the playlist properly.
Installed Flv media player (and JW media player) and configured it successfully
Added content type, assigned it to respective places etc etc. I did everything I could have done but I am sure there still something more it.
as of now, you can see how it looks here jobresident.com... as of now.. I am totally lost and seriously need some help.
Anybody!!!
Comment #5
arthurf CreditAttribution: arthurf commentedSome quick thoughts:
* player does not show here: http://jobresident.com/ because you need to your flvmediaplayer profile to display in teasers (if you want that)
* player is not showing on node/2 because:
Notes the "file": ""
Try setting the "use file" option in your flvmediaplayer to the xspf-playlist option.
let me know how this works for you.
Comment #6
arthurf CreditAttribution: arthurf commentedWoops, that second point should have read:
* player does not have video on node/2 beacuse
Comment #7
xoail CreditAttribution: xoail commentedthanks!
I actually have "XSPF playlist for each node" selected in Media file drop down. Isnt that it, or am I missing something?
Comment #8
arthurf CreditAttribution: arthurf commentedSomething is overriding that setting as the file attribute that is generated is empty. Do you maybe have a single space in the "File location: " option? Also would be good to make sure your cache is cleared and that you have saved your profile recently so that it clears the profile cache.
Comment #9
xoail CreditAttribution: xoail commentedYeah I checked it. There is no space or anything for "File Location" field.
Would you be able to figure out if you can access the admin?
Comment #10
arthurf CreditAttribution: arthurf commentedOk, there is/was a strange version collision between XSPF and FLV Media Player. I've done some substancial revision and I think this should be solved for you if you update to the latests versions of both modules.
The details are that when FLVMP requested the file path from XSPF, XSPF sees if it can create data from the particular node. For some reason (I don't know why) $node->files does not have data when the $node gets passed around. I cleaned this up, as well as a number of other function calls.
Comment #11
xoail CreditAttribution: xoail commentedHi arthurf,
I upgraded both the modules and things seams to work a little.... only problem is, its not playing all the files that are there in the playlist but only the first file. plus, I have it set to autostart which doesnt seem to be happening..thanks for all your help...
1 question: how can I load the player load in a table (using tinymce), is that possible?
Comment #12
xoail CreditAttribution: xoail commentedok.. I tried changing settings here and there but no help... the flvmp is playing only the first track in the list. Although the source code looks something like this now:
If I look at the playlist, it is showing all the files. Just the player isnt playing all of them.
Comment #13
arthurf CreditAttribution: arthurf commentedYou need a crossdomain.xml file in your root directory. It should be something like:
"http://www.macromedia.com/xml/dtds/
cross-domain-policy.dtd">
?>
Comment #14
xoail CreditAttribution: xoail commentedSo I added a crossdomain.xml file in the root folder with the following code:
But that is not working.. is there something specif code that I need to add?
Comment #15
xoail CreditAttribution: xoail commentedarthurf, apart from crossdomain.xml question, I have one more and I really need some advice on how to proceed.
I am trying to load two flvmps on a page (preferable new blank page with no site headers etc), each running a different playlist. Is there an easy way to do that?
Thanks for all your help.
Comment #16
arthurf CreditAttribution: arthurf commentedPlease upgrade to FLVMP alpha 9. You need to run update.php as well to clear your cache and reset the path to your player definition.
As per multiple players on one page, this is possible. With Asset, you can do this with the GUI (I haven't checked this post this update, but it was working). You can also do this by hand:
Obviously this is an example, and you can learn more about the flash vars on JW's site. Also, you can put [flvmediaplayer] in the body of your node and FLVMP will try to insert the player there if it can, but this only works on the single player in the page. I think Asset is probably the best solution for multiple players on a page.
Comment #17
xoail CreditAttribution: xoail commentedNot sure why but that dint work either. Although the player is now playing the file automatically, it is still not playing the full playlist but just the first file in the playlist. You can see it on the site.
thanks for the info on loading multiple players in a page. i will play around with assets and see.
Comment #18
arthurf CreditAttribution: arthurf commentedIt plays the full playlist for me- Are you sure it doesn't?
Comment #19
xoail CreditAttribution: xoail commentedOn this link http://jobresident.com/node/2 there are 3 files in the playlist but it plays only the first video. I would have to manually play the next files by clicking on the next icon in controls. I actually tried testing this on different computers but the result is the same.
Well, I did notice that after playing the first file, its associating a wrong thumbnail. Gotta figure out why, but I guess thats more to do with xspf module.
Comment #20
arthurf CreditAttribution: arthurf commentedWith images in the XSPF feed, you have to configure the player to only play the images for X amount of time. According to JW's site (http://www.jeroenwijering.com/?thread=13721) the way to do this is to alter the XSPF playlist with a duration tag. I will add this to XSPF in the next day or so.
Comment #21
arthurf CreditAttribution: arthurf commentedThere is now support for duration in the XSPF playlist module. I'm reassigning this issue to XSPF.