To begin with, thanks a lot, travist, for all your work and support. This flashvideo module seems awesome and I will make it work completely on my web site. Here's my problem :
on a page type node, with [video] and [thumbnail] tags in, I do have the thumbnail of the video, but no video, although, when the page gets loaded, there's a quick window (kind of a pop-up, sort of) that appear and immediately disappear, like something trying to be loaded, but failing and crashing, (is there any log files somewhere I could check ?). I feel like it's from the player,...
using drupal 6.4 on Gentoo. I followed the "Flash Video in Drupal 5: A complete multimedia tutorial" : the flashvideo module is installed and set in drupal with no error. I got the player dashPlayer.swf, renamed in Player.swf. It resides in /drupal/sites/default/files. Page type node is enabled. Original Directory field is set with "original_videos" and Output Directory field with "output_videos", from the FFMPEG settings, in the node type page. So /drupal/sites/default/files/original_videos and /drupal/sites/default/files/output_videos have been created when I uploaded a video. The actually do contain video files (.wmv), produced from the module. I did not create a a Content Template, but a page, and everything seems tuned fine (video import field, "Attach new file:"...)
I tried : put the player in /drupal/files, like mentioned in http://www.travistidwell.com/node/284, with no results. Since original_videos and output_videos directories were created on the fly in /drupal/sites/default/files/, I figured out that the player had to be in /drupal/sites/default/files/ as well.... What did I miss ?
Comments
Comment #1
travist commentedSince you are using the Dash Player, I am VERY motivated to figure out why this is not working for you.... will you send me some links to your site that is having the problem. Maybe I can figure out from just looking at it what the problem is. I will debug this for you for free.
Thanks!
Travis.
Comment #2
carlino commentedEh travist !! I do appreciate your offer, but unfortunately, the web site isn't on line yet, still being built localy. As soon as it is (shouldn't be long), I'll let you know; but for instance, would you recommend to try with the other player I remember you mentioned somewhere in your tuto ?
Comment #3
amedjones commentedhey
yaa you can try http://www.jeroenwijering.com/. I used that on my site without any crashes
also try a different video.. perhaps a smaller one ( less than 5 mb)
Comment #4
swindsor commentedLet me jump in and help a little bit...I have spent the better part of 10 hours hacking around with the dashplayer. BTW in the end I believe this player to be awesome and am looking forward to customization.
There are many places in drupal that seem to compete with each other to generate paths to file locations. The problem you are experiencing I have come across several times.
I am using ffmpeg, dashplayer, flashvideoo module with drupal 6x and there are several PATH settings that I had to hunt down. the problem of a brief POP-UP window and then blank screen has almost always been the settings pointing to the wrong location of the Player.swf.
Dashplayer setting in.... admin/settings/dashplayer - I have the Player.swf set to http://yoursite.com/files/Player.swf (this is where I had to put it (and the other files (skins, config etc) ) so flash settings and ffmpeg could generate the path to videos. (somewhere in the documentation it states that the player has to reside in the same directory as the output directory for flash conversion of videos....this doesn't seem to to be completely true as they are in ...files/videos)
in admin/settings/flashvideo under the content type that I am enabling for "flash player settings" the name of the player is Player.swf, under FFMPEG settings my input and output dirs are files/videos. This seemed to cause problems forever until I looked at the view source for the page. (you can also look under your drupal logs) regardless the path the the videos was being set to contain sites/default/files/files/videos... To fix this and get the path correct to the videos I had to go to admin/settings/file-system and set the path to "files". It was sites/default/files...which was causing problems generating the wrong path above.
In the end what seemed complicated and had me hacking files turned out to be click button and path settings that could be fixed in drupal admin.
My advice - before hacking files exhaust all the drupal radio dials and settings first. This would have taken way less time had I done that first.
Comment #5
travist commentedWow! This is some fantastic information swindsor! Thank you so much for your contribution. I am curious if your advice worked. Carlino, did this work for you?
Comment #6
publishing commentedHelp !, Can't seem to get Dash Player working to show videos and I am a bit confused. I have looked at the Drupal Dashplayer module and Dash Player (TMT Digital download) and the install instructions are different than those of the flash video module.
For instance, the instructions @ comment #4 by Swindsor related to the Dash player file path settings are different from those outlined by Mr. Travis in his Dash player documentation. Those instructions state that a folder (player) should be created in the drupal root and that all TMT Dash player files should be extracted to this folder. Which would provide a file path like: www.mysite.com/player/dashplayer.swf
The #4 comment by Swindsor, instructs change of dashplayer.swf file name to player.swf and a file player path of: www.mysite/files/player.swf
Mr. Travis, the Dashplayer module developer(great job by the way) seems to comment on the instructs by Swindsor @ comment #4 without any explanation as to why it was necessary for a change in the file path of the dashPlayer.swf; player.swf setup, as different from documentation instructions.
Someone, please advise
Comment #7
travist commentedcarlino,
I apologize for any confusion with the interaction between Dash Media Player and the FlashVideo module. One of these days I will try to make a change to the FlashVideo module so that it can read the player from the "player" directory (which is what I think is best), but in attempts to not break thousands of websites that use the FlashVideo module, I have decided to postpone this action. That is why it can be confusing since the FlashVideo module tells you to place the player in the files directory (not preferred anymore) as opposed to the Dash Media Player in its separate "player" directory.
So it seems from your comment, you are really just wondering which one it should be?... Well, here is what I suggest...
If you want to use the Dash Media Player with FlashVideo, then I actually suggest to not use the flashvideo_get_video API to show the video player (since this will try to grab a player from the output directory). Instead, use the Dash Media Players API of dashplayer_get_player($params) and then pass in the Node ID of the node that you are wanting to show.
For example, to simulate the EXACT thing that the flashvideo_get_video does, but using the dashplayer_get_player API does, then you can use the following code to do so...
This is the same thing as this....
I hope this helps clarify the interraction between FlashVideo and Dash Media Player.
Thanks,
Travis.
Comment #8
publishing commentedMr. Travis,
Again, great job on both the Dash player and Flash Video module and thanks for going the extra mile and submitting such excellent documentation.
Personally, I am utilizing the Dash Player and Flash Video modules with the preference for the Dash Player API due to its overall dynamic nature and integration into the Drupal CMS. As such, it really makes a difference to provide the clarity as to the correct path to the players, and the distinctions which come into effect depending on which API is intended and desired to be utilized. As you know, the incorrect player path could/would cause the particular selected player from functioning properly and playing video resulting in many hours of needless forum search and trouble shooting.
We have searched far and wide for a good video player which could/would also integrate fully into the Drupal CMS. For a media driven site, this is absolutely indispensable. With some many advanced features and functions including H.264; MRSS; playlist, etc....., I believe that the Dash Media Player as a project is a real keeper. It is the Drupal nation hope that you continue current and future development of the Dash Media Player that it may be that Drupal standard as a genuine Media Content Management System (MCMS).
Thanks Again,
P.S. --- Perhaps you should include your Dash Player/Flash Video clarification memo as a foot note somewhere in each modules documentation to preclude any future confusion in this vital install/setup area.
Comment #9
publishing commentedTravis,
I have the following questions in relationship to your comment #7.
We have established that for use of the Dash Player API, the dashplayer.swf file path s/b www.yoursite.com/player/dashplayer.swf
1) What directory should the rss and/or xml playlist file be placed in relationship to the dashplayer.swf file?
2) What directory should the source video flv. files be placed in relationship to the dashplayer.swf file?
Please advise,
Thank you !
Comment #10
attheshow commentedClosed due to inactivity. Dear publishing, please create a new support request if you are still having issues.