The documentation for this project is great - thanks very much. However, the last part where it asks you to set up the view seems to be geared around Drupal 5. I'm using Drupal 6 and have a fair amount of experience using the Views module under Drupal 6. I'm pretty sure that I have my view set up the same. It simply lists all published video nodes in teaser view.

When I try to embed the php snippet for the player inn a page however I get no videos. The player displays ok, just nothing in the playlist. Any tips? Please let me know if you need any more info...

Thanks,
Tom

CommentFileSizeAuthor
#39 Picture 5.png32.75 KBpontifex4

Comments

rtdean93’s picture

Same here

travist’s picture

Status: Active » Postponed (maintainer needs more info)

I probably need more info... I have a Drupal 6 setup at http://drupal6.tmtdigital.com, so I have verified that it works now. Please contact me and we will get this thing squared away for you.

Thanks,

Travis Tidwell

spiffyd’s picture

@mrfelton, I was able to get DashPlayer running fine with 6.4. I'll be happy for help but like Travis said, I'll need more specific information.

But in general - you configure your playlist via Views module. If you can get videos showing up in Views, you should be good to go with Dash Player. Also make sure your parameters in the config xml is spelled correctly for the specific View you want.

Denis

mrfelton’s picture

when I visit my view I do get a listing of video nodes. My xml config file looks fine

<params>
        <license><!-- Enter your License here --></license>
        <gateway>http://mydomain.com/services/amfphp</gateway>
        <apiKey>dbd655495ea1ae294201a2c4d6578870</apiKey>
        <baseURL>http://mydomain.com</baseURL>
        <flashvars>
        <!-- You can specify any flashvars here by providing the name of the flashvar as the tag, and the value in between those tags. -->
        </flashvars>
</params>

When I visit http://mydomain.com/services/amfphp I get a page telling me amfphp is working fine.
dbd655495ea1ae294201a2c4d6578870 matches one of the keys I have in /admin/build/services/keys

What do you mean "Also make sure your parameters in the config xml is spelled correctly for the specific View you want."? As far as I can see, the values in the xml config file have nothing todo with the view I'm trying to use as a playlist.

In the page where I'm trying to view the player I have this:

<?php
   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   print dashplayer_get_player($params);
?>

'videos' is the name of the view I created.

spiffyd’s picture

@mrfelton:

Also make sure your parameters in the config xml is spelled correctly for the specific View you want.

My apologies... I meant the PHP code that goes in your node where you indicate the view of your choice ('playlist') should be spelled correctly.

Assuming you View/playlist is "video" are you able to generate videos from the "Live Preview" in views?

spiffyd’s picture

@mrfelton: Also, go to Site Building > Services settings.

Click on dashplayer.getView under dashplayer.

Next to view_name type in your videos. Click Call method.

Copy and paste what shows up.

travist’s picture

Try going to the Administer >> Services section... then click on the link that says dashplayer.getView. From there ,you will then type in your view where it says view_name (don't worry about the other fields). Then press the Call method button....

If you see some data in the Results section, then you know that you view is working just fine and what you have is a configuration issue (with the dashconfig.xml file).

Please let me know what you find, and we will take it from there.

spiffyd, thank you so much for your help.

Travis.

travist’s picture

Wow! we just sent that at the same time!!!

spiffyd’s picture

;)

mrfelton’s picture

Result

Array
(
    [0] => stdClass Object
        (
            [nid] => 6
            [type] => video
            [language] => 
            [uid] => 1
            [status] => 1
            [created] => 1218881479
            [changed] => 1218881479
            [comment] => 2
            [promote] => 1
            [moderate] => 0
            [sticky] => 0
            [tnid] => 0
            [translate] => 0
            [vid] => 6
            [revision_uid] => 1
            [title] => test video
            [body] => 
            [teaser] => 
            [log] => 
            [revision_timestamp] => 1218881479
            [format] => 1
            [name] => tom
            [picture] => 
            [data] => a:0:{}
            [play_counter] => 8
            [last_comment_timestamp] => 1218881479
            [last_comment_name] => 
            [comment_count] => 0
            [taxonomy] => Array
                (
                )

            [files] => Array
                (
                    [16] => stdClass Object
                        (
                            [fid] => 16
                            [uid] => 1
                            [filename] => test_wmv.wmv
                            [filepath] => sites/emusic.tv/files/test_wmv.wmv
                            [filemime] => video/x-ms-wmv
                            [filesize] => 2207388
                            [status] => 1
                            [timestamp] => 1218881471
                            [nid] => 6
                            [vid] => 6
                            [description] => test_wmv.wmv
                            [list] => 0
                            [weight] => 0
                        )

                    [17] => stdClass Object
                        (
                            [fid] => 17
                            [uid] => 1
                            [filename] => test_wmv.jpg
                            [filepath] => sites/emusic.tv/files/test_wmv.jpg
                            [filemime] => jpg
                            [filesize] => 3479
                            [status] => 1
                            [timestamp] => 1218881479
                            [nid] => 6
                            [vid] => 6
                            [description] => test_wmv.wmv
                            [list] => 0
                            [weight] => 0
                        )

                    [18] => stdClass Object
                        (
                            [fid] => 18
                            [uid] => 1
                            [filename] => test_wmv.flv
                            [filepath] => sites/emusic.tv/files/test_wmv.flv
                            [filemime] => flv-application/octet-stream
                            [filesize] => 1363270
                            [status] => 1
                            [timestamp] => 1218881483
                            [nid] => 6
                            [vid] => 6
                            [description] => test_wmv.wmv
                            [list] => 0
                            [weight] => 0
                        )

                )

            [node_counter] => 5
            [body_value] => 
        )

    [total_rows] => 
)

My XML config is fine.

<params>
        <license><!-- Enter your License here --></license>
        <gateway>http://emusic2.thedeathstar.homeip.net/services/amfphp</gateway>
        <apiKey>a3de1e1f78e461cbebad9f0d2d59a9ff</apiKey>
        <baseURL>http://emusic2.thedeathstar.homeip.net</baseURL>
        <flashvars>
        <!-- You can specify any flashvars here by providing the name of the flashvar as the tag, and the value in between those tags. -->
        </flashvars>
</params>

I did have this running in a domain that was only accessible locally.
I've since opened this up so it is publicly available.
Travis, I sent you an email with login details if you want to take a look.

mrfelton’s picture

Upgrading to beta4 fixed it!
Thanks for all the support guys.

spiffyd’s picture

Did you create the node via Create content > video and uploaded via the Flash Video form? I just tested uploading a WMV this method - I was not able to get video streaming, however I still had the "Video Currently Not Available" image up. (Seems like you can only upload FLV files via FlasVideo to get it playing IF you DO NOT have FFMPEG on your server).

And in Dash Player, I can see this WMV video in my playlist, though it doesn't play.

Were you able to see video displaying in your Views preview? If not, you may have configured your Views incorrectly, and thus, no videos show up in your playlist. Basically, any videos that Views shows will show up on your playlist.

spiffyd’s picture

#11: GREAT! Glad it worked!

@mrfelton: I have a question for you. Did you have FFMPEG installed (use FFMPEG to convert your wmv)? and How did you import the WMV?

mrfelton’s picture

OK, deleted all videos.
Uploaded a new WMV
It works!!! :)

I thing the one I did before was actually a mp4 - oops

wibbla’s picture

Version: 6.x-1.0-beta » 6.x-1.0-beta4

Hi I have a problem
I'm in the node/add/video and upploaded 2 .flv files and the copy the php code to the body and the press save
the swf file sohws but no video.
I do nott have FFMPEG installd

spiffyd’s picture

@wibbla:

Are the videos showing up at playlist but not playing or are the videos not even showing up?

Did you follow all the instructions HERE when installing/configuring?

Did you set up views? Simply uploading files won't work, you need to set up a view to show all your video nodes.

You don't need FFMPEG installed to get Dash Player working. FFMPEG simply helps users convert video formats to flv and create thumbnails server-side.

wibbla’s picture

I followd the instructions and creatded the view
and the video do not showing in the playlist and no video is playing

spiffyd’s picture

Wibbla, do you see videos displayed when you do a Live Preview of your videos view? (in the Views setting)

wibbla’s picture

how do I do that?

spiffyd’s picture

Go in your views settings for the "videos" view. On the bottom you should see a button that says "preview"

wibbla’s picture

It look's like this.

Title: test
Query SELECT node.nid AS nid,
node.title AS node_title
FROM node node
WHERE node.type in ('video')

Title
Path This display has no path.
Query build time 10.06 ms
Query execute time 0.63 ms
View render time 6.38 ms

wibbla’s picture

I got this error when I run the cron manuly

Command: /usr/bin/ffmpeg -y -i "/home/wibblane/public_html/files/t_ageofconanhybad_launch_0.flv" -vframes 1 -ss "00:00:02" -an -vcodec mjpeg -f rawvideo -s ""130x100"" "/home/wibblane/public_html/files/t_ageofconanhybad_launch_0.jpg"
Command: /usr/bin/ffmpeg -y -i "/home/wibblane/public_html/files/t_ageofconanhybad_launch_1.flv" -vframes 1 -ss "00:00:02" -an -vcodec mjpeg -f rawvideo -s ""130x100"" "/home/wibblane/public_html/files/t_ageofconanhybad_launch_1.jpg"
Command: /usr/bin/ffmpeg -y -i "/home/wibblane/public_html/files/t_ageconanha_femmef.flv" -vframes 1 -ss "00:00:02" -an -vcodec mjpeg -f rawvideo -s ""130x100"" "/home/wibblane/public_html/files/t_ageconanha_femmef.jpg"

travist’s picture

That is not an error. Just a print out of the commands that are being passed to FFMPEG with the FlashVideo module.

spiffyd’s picture

I'm in the node/add/video and upploaded 2 .flv files and the copy the php code to the body and the press save
the swf file sohws but no video.
I do nott have FFMPEG installd

Upon closer inspection of your problem description, please do/check the following:

1) The nodes where you uploaded your 2 flv files have PHP filter enabled (since you're using PHP code). To make sure the filter is enabled make sure you installed the PHP filter module and have it enabled in your Input formats settings

2) Instead of using php code, try to simply put [video] in the video nodes' bodies. It's much simpler.

3) SWF File show but no video... did you see an error message on the SWF?

4) View the HTML source and see what path it displays for your FLV file. Does that FLV file actually exist in that path on your server?

If you're unsure on how to debug with your HTML file, copy and paste the portion of HTML code where your JW Player displays and let me take a look.

5) You may not have configured your views correctly since no video nodes showed up in your views (right?). If you configured it correctly, the 2 video nodes where you uploaded 2 flv files should appear.

Make sure you're using the latest Views 2 release and that your videos view have the following settings:

BASIC SETTINGS
Style: Unformatted
Row style: Node
Use pager: No

SORT CRITERIA
Node: Title asc (or desc, up to you)

FILTERS
Node: Published True
Node: Type = Video

Let me know if any of these tips did it for you. If not do #4, and we'll proceed with debugging.

wibbla’s picture

It works now

spiffyd’s picture

You're welcome. :P

RGoolsby’s picture

I am having the same issue...

I am able to see a valid array list when i go to dashplayer.getView (when I type in the view name).

When I type in [video] in the node body I do not see a video (I only see the white square), but when I view source I navigate to the location of the video it is available.

All of the settings look to be correct on my XML file.

I am running Drupal 5 and I am uploading FLV videos since I do not have FFMPEG installed (and do not require it)

Anything else can I check to get this up and running?

travist’s picture

You are confusing the Dash Media Player with the FlashVideo module (which uses the [video] tag). You will need to use the Dash Media Player API in order to see the dash player.

<?php
   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   print dashplayer_get_player($params);
?>
RGoolsby’s picture

No, I am attempting to use the Dash Media Player. I was trying to follow the logic from previous posters (see post #24) to help explain my situation.

travist’s picture

You can put the [video] tag to show the Dash Media Player, but you will need to replace the Player.swf in your files directory with the renamed Dash Player. You will also need to copy the skins folder along with the player so that it can load the skin (this would cause a white screen if you didn't have the skins folder along with the player). That should work. Please let me know if it doesn't.

RGoolsby’s picture

I dont see a Player.swf in the files directory.... but i renamed the Dash player to Player.swf in files site according to the node it was looking for it..

here is the source of the node:

<div class="node">
<div class="content"><div id="video-player" align="center">
<object classid="clsid:D27CDB6E-XXXX-XXXX-XXXX-444553540000" width="450" height="337" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="http://mysite.com/files/Player.swf" />
<param name="wmode" value="window" />
<param name="allowfullscreen" value="true" />
<param name="FlashVars" value="file=http://mysite.com/files/26_test.flv&image=http://mysite.com/files/26_test.jpg&rotatetime=3&autostart=true" />
<param name="quality" value="high" />
<embed allowScriptAccess="always" src="http://mysite.com/files/Player.swf" width="450" height="337" border="0" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="window" allowfullscreen="true" quality="high" flashvars="file=http://mysite.com/files/26_test.flv&image=http://mysite.com/files/26_test.jpg&rotatetime=3&autostart=true" />
</object></div></div>
travist’s picture

Did it work?... If you only see a white screen when you go to this page, it means that you need to copy all the skins from the skins folder to be along side the Player.swf file. Please let me know if this works.

Thanks,

Travis.

spiffyd’s picture

A few weeks ago, I discovered a caching problem with Dash Player configurations, which I had informed Travis on via personal communications. I'd like to share my discovery and workaround with all as it may affect you as well (assuming it's not fixed in the latest version):

I pinpointed the problem of why Dash Player didn't load the videos/view on my main site. It is definitely a database table cache-ing issue... Allow me to elaborate:

Previously, on the initial installation, I had erroneously specified http://domain.com/amfphp/services in my config xml as the path. Then I changed it back to http://domain.com/services/amfphp. However, when I check the Error Logs, I see that I'm still getting path not found errors specifying "amfphp/services" as though I haven't changed the path.

My hypothesis was further affirmed when I deleted the original service API key and recreated a new one. Then I updated my XML file with the new API. Unsurprisingly, I immediately started to get new errors on my error log indicating the wrong API key was used. Dash Player once again won't load. Apparently, something is still loading the original "cached" XML config with the first API key.

I tried the following methods to resolve this issue, without any success:
- clearing cache in performance settings
- uninstalling DP module, deleting module, reinstalling
- uninstalling DP and ALL dependent/related modules, reinstalling

Right before I was about to give up, I found the solution, a really simple one believe it or not!!

I went to DP settings and changed the path of the swf to a different location. Moved my config and skin directories to that new location, and voila - problem solved.

So then, I wanted to find out whether this issue could be replicated on my other working "sandbox" drupal installation... I was able to replicate it following the same line of logic:

1) Deleted the API key, recreated a new one
2) Updated new API key on xml config

And voila... dash player doesn't load!

How I resolved the problem? By specifying a different path in DP settings and moving my new config there.

So with all this in mind, I'd like to ask you to check your code to see why uninstalling DP module does not delete the tables associated with it, especially the swf/config directory path.

travist’s picture

I actually believe this is a browser cache issue.... When the Dash Player loads the dashconfig.xml file, your browser most likely caches the XML file until the cache is cleared or until after a certain time interval has surpassed.

Try this, spiffyd.... Recreate your same reproducible case, but this time instead of going through all the trouble of changing the path to the Dash Player, just go up to your browser and clear the browser cache.

This works for me. If this also works for you, then I am affraid that there is nothing that Dash Media Player can do to fix this issue since there is no API that I can call to delete the Browser cache (and even if I could, I wouldn't want too).

I hope this makes sense.

Let me know what you find.

Travis.

billyclyde’s picture

This process worked for me after hours of trouble shooting . . . thats!

travist’s picture

Status: Postponed (maintainer needs more info) » Fixed
pontifex4’s picture

Version: 6.x-1.0-beta4 » 6.x-1.0-beta8
Component: Documentation » Code

I am having a similar problem, and am too new to Drupal to understand whether I've read the solution somewhere, or not.

I have the .swf player sitting idle with the spinning circles in my page body -- no videos in it and no playlist.

I, too, am able to see a valid array list in dashplayer.getView when I type in the name of the view. I've uploaded an .flv file (generated locally in Squeeze) which appears in the list as a Video node.

Similar to a post above, when I type [video] in the node body (as opposed to using the PHP API), I get the expected white square and no video.

However, unlike above, when I view the page's source, I can see that the player is pointing to a video file which is not available, though Drupal tells me that I've uploaded it.

I'm happy to cut and paste any output you need - I've run out of understanding very early in this build!

travist’s picture

You most likely forgot to add the "skins" folder. You need the skins folder along with the player so that it has a skin to load. Otherwise, you get a blank screen.

pontifex4’s picture

StatusFileSize
new32.75 KB

I don't get a blank screen when I use the PHP API: I've attached a screen shot to demonstrate all I see.

travist’s picture

Have you gone through the Dash Media Player Checklist?

pontifex4’s picture

I have gone through the checklist. Could the problem be that I can't change php.ini on my server?

Anonymous’s picture

I have the same problem. Cant figure out what is wrong. Gone through the checklist twice.

spiffyd’s picture

Maybe I can help you debug. If you'd like me to, send me these things:

1) your test dash player link

2) what you put in the config XML.

3) The versions/builds of the following modules:
Dash Player
Services
AMFPHP
Views
FlashVideo
Voting API

4) Drupal version

5) The output code when you do what Travis says in comment #7.

I've had no problems with DP on Drupal 6.4 on old and fresh installations and all browsers (FF, IE, Opera, Chrome). I usually test on Opera b/c it doesn't cache as much as the other browsers - gotta clear cache on all the other ones each refresh. Some times it may seem like DP doesn't load but for me at least I discovered that things load much slower on Shared Servers so I had to wait as long as 1 minute for the playlist to load.

spiffyd’s picture

Maybe I can help you debug. If you'd like me to, send me these things:

1) your test dash player link

2) what you put in the config XML.

3) The versions/builds of the following modules:
Dash Player
Services
AMFPHP
Views
FlashVideo
Voting API

4) Drupal version

5) The output code when you do what Travis says in comment #7.

I've had no problems with DP on Drupal 6.4 on old and fresh installations and all browsers (FF, IE, Opera, Chrome). I usually test on Opera b/c it doesn't cache as much as the other browsers - gotta clear cache on all the other ones each refresh. Some times it may seem like DP doesn't load but for me at least I discovered that things load much slower on Shared Servers so I had to wait as long as 1 minute for the playlist to load.

sudeoo’s picture

Hi

I am running Drupal 5.x and have tried too much on this one. Can anyone look at this one and help:

Login/password is admin/test

1. I created a content type video
2. Uploaded flv and it works perfect:
http://drupalservicesindia.com/~gdcast/node/3

3. Created a view http://drupalservicesindia.com/~gdcast/videos

4. Playlist still doesn't show up:
http://drupalservicesindia.com/~gdcast/node/4

5. dashplayer.config settings in drupal root/player/config:

http://www.drupalservicesindia.com/~gdcast/services/amfphp eway>
56165a9b5007e74fe9ee390395321f20
http://www.drupalservicesindia.com/~gdcast


Anyone? Please help.

Thanks a lot,
Sudeep

spiffyd’s picture

@ Sudeep: What's your playlist View's name? Can you post the info by doing Step #5 as described in comment #44.

likewhoa’s picture

ok I am having issues with the player. flash video module works just not dash module. here is my info.

1) link to dash player page
http://weboperative.com/~amysnow/index.php?q=node/7

2) config XML.

        <gateway>http://www.weboperative.com/~amysnow/index.php?q=services/xmlrpc</gateway>
        <apiKey>6aa9a5fc41bb53a748074b26ea37ca40</apiKey>
        <baseURL>http://www.weboperative.com/~amysnow</baseURL>
        <flashvars>
        <drupalversion>6</drupalversion>
        </flashvars>

3) modules info

Dash Media Player : a media player built for Drupal CMS 6.x-1.1
Services 6.x-0.13
Views 6.x-2.1
FlashVideo 6.x-1.4-beta3
Voting API 6.x-2.0-rc1

4) Drupal version 6.5

5) The output code when you do what Travis says in comment #7.

                    [promote] => 1
                    [moderate] => 0
                    [sticky] => 0
                    [tnid] => 0
                    [translate] => 0
                    [vid] => 8
                    [revision_uid] => 1
                    [title] => Butterfly
                    [body] => <p>[video]</p>

                    [teaser] => [video]
                    [log] => 
                    [revision_timestamp] => 1224573798
                    [format] => 1
                    [name] => likewhoa
                    [picture] => 
                    [data] => a:0:{}
                    [play_counter] => 7
                    [last_comment_timestamp] => 1224569996
                    [last_comment_name] => 
                    [comment_count] => 0
                    [taxonomy] => Array
                        (
                        )

                    [files] => Array
                        (
                            [12] => stdClass Object
                                (
                                    [fid] => 12
                                    [uid] => 1
                                    [filename] => Butterfly.wmv
                                    [filepath] => sites/default/files/Butterfly.wmv
                                    [filemime] => video/x-ms-wmv
                                    [filesize] => 2797732
                                    [status] => 1
                                    [timestamp] => 1224569984
                                    [nid] => 8
                                    [vid] => 8
                                    [description] => Butterfly.wmv
                                    [list] => 0
                                    [weight] => 0
                                )

                            [15] => stdClass Object
                                (
                                    [fid] => 15
                                    [uid] => 1
                                    [filename] => Butterfly.jpg
                                    [filepath] => sites/default/files/Butterfly.jpg
                                    [filemime] => jpg
                                    [filesize] => 4473
                                    [status] => 1
                                    [timestamp] => 1224573265
                                    [nid] => 8
                                    [vid] => 8
                                    [description] => Butterfly.wmv
                                    [list] => 0
                                    [weight] => 0
                                )

                            [23] => stdClass Object
                                (
                                    [fid] => 23
                                    [uid] => 1
                                    [filename] => Butterfly.flv
                                    [filepath] => sites/default/files/Butterfly.flv
                                    [filemime] => flv-application/octet-stream
                                    [filesize] => 1136850
                                    [status] => 1
                                    [timestamp] => 1224577325
                                    [nid] => 8
                                    [vid] => 8
                                    [description] => Butterfly.wmv
                                    [list] => 0
                                    [weight] => 0
                                )

                        )

                    [body_value] => [video]
                )

            [2] => stdClass Object
                (
                    [nid] => 9
                    [type] => videos
                    [language] => 
                    [uid] => 1
                    [status] => 1
                    [created] => 1224570039
                    [changed] => 1224573788
                    [comment] => 2
                    [promote] => 1
                    [moderate] => 0
                    [sticky] => 0
                    [tnid] => 0
                    [translate] => 0
                    [vid] => 9
                    [revision_uid] => 1
                    [title] => Lake
                    [body] => <p>[video]</p>

                    [teaser] => [video]
                    [log] => 
                    [revision_timestamp] => 1224573788
                    [format] => 1
                    [name] => likewhoa
                    [picture] => 
                    [data] => a:0:{}
                    [play_counter] => 3
                    [last_comment_timestamp] => 1224570039
                    [last_comment_name] => 
                    [comment_count] => 0
                    [taxonomy] => Array
                        (
                        )

                    [files] => Array
                        (
                            [13] => stdClass Object
                                (
                                    [fid] => 13
                                    [uid] => 1
                                    [filename] => Lake.wmv
                                    [filepath] => sites/default/files/Lake.wmv
                                    [filemime] => video/x-ms-wmv
                                    [filesize] => 2981738
                                    [status] => 1
                                    [timestamp] => 1224570030
                                    [nid] => 9
                                    [vid] => 9
                                    [description] => Lake.wmv
                                    [list] => 0
                                    [weight] => 0
                                )

                            [16] => stdClass Object
                                (
                                    [fid] => 16
                                    [uid] => 1
                                    [filename] => Lake.jpg
                                    [filepath] => sites/default/files/Lake.jpg
                                    [filemime] => jpg
                                    [filesize] => 3520
                                    [status] => 1
                                    [timestamp] => 1224573265
                                    [nid] => 9
                                    [vid] => 9
                                    [description] => Lake.wmv
                                    [list] => 0
                                    [weight] => 0
                                )

                            [25] => stdClass Object
                                (
                                    [fid] => 25
                                    [uid] => 1
                                    [filename] => Lake.flv
                                    [filepath] => sites/default/files/Lake.flv
                                    [filemime] => flv-application/octet-stream
                                    [filesize] => 739795
                                    [status] => 1
                                    [timestamp] => 1224577331
                                    [nid] => 9
                                    [vid] => 9
                                    [description] => Lake.wmv
                                    [list] => 0
                                    [weight] => 0
                                )

                        )

                    [body_value] => [video]
                )

        )

    [total_rows] => 
)

thanks in advanced. p.s I tried both www.weboperative.com and without www in xml config. I know videos works because they show in flash video module using dash media player.

spiffyd’s picture

@ likewhoa, Try using Services module v0.9. There seems to be a problem with module versions > 0.9. See http://drupal.org/node/309363

Let me know if that fixes it.

spiffyd’s picture

Status: Fixed » Closed (fixed)
spiffyd’s picture

Title: No videos in playlist » Playlist not loading
Status: Closed (fixed) » Postponed (maintainer needs more info)
likewhoa’s picture

downgrade services but still having the same issue, don't know what could be missing since videos are showing correctly with flash video and my views look fine, if you need anymore info let me know.

thanks.

travist’s picture

How about you send me an email with your server info and I will personally take a look free of charge.

likewhoa’s picture

you got mail.

spiffyd’s picture

If Travis is able to help you resolve the issue, please update thread with the culprit. I am interested. Thanks! Good luck!

likewhoa’s picture

I haven't heard from Travis, maybe you could help me. my IM is genuinedesign or find me on freenode #init.

so far, I have confirmed that views works when I set body to show but dash player still won't load the playlist, I am gonna try deleting the videos and starting over.

travist’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

likewhoa was able to get his working. See http://www.tmtdigital.com/forums.

redrider’s picture

Version: 6.x-1.0-beta8 » 6.x-1.1

I'm having the same problem - I can't get the play list to show up, it leaves a place for it on the page, but nothing shows.
I am fairly new to Dupal but I can get around in it pretty well.
I will need to purchase a license for another site if I get this working.

Server = godaddy virtual dedicated server
Drupal 6.6
AMFPHP 1.9 Beta 2
Current Service module
Current Vote module
urrent 5 star module

Dashplayer in root/player

dashconfig.xml file:

http://mysite.com
89a2c1867714e1a558e3b777692ab7cb
http://mysite.com


Also, when I create my view, I get this error;

Display Defaults uses fields but there are none defined for it or all are excluded.
Unable to preview due to validation errors.

Import has errors also.

Validation error, please try again. If this error persists, please contact the site administrator.

Any help, tips or tricks from anybody are welcome.

redrider’s picture

I now have the view set up and the player displays but I get the spinning wheel and no video - yayyy.

I think this is due to some sort of upload/import module issue or path problem.

It would help greatly if I understood the relationship between the uploaded file path and the dash player.

Simply, where does Dash Player look for uploaded files.

I have already uploaded several huge files, both .wmv and .mp3 into a folder on the server, and I need to figure out how to point the Dash Player to them.

I will need to purchase a license for another site if I get this working.

Thanx
Alan

tamatama’s picture

Assigned: Unassigned » tamatama
Status: Closed (fixed) » Active

I have struggled and reinstalled read as much as I can and just can't get my head around what is missing. I would appreciate if someonee could give me some assistance with the issue.

My player loads fine and sits there with the white load symbol.

I am running drupal 6.6
and the latest versions for DP, amfphp, views and flash video

how big a ticket item is the following error

* Recommended Settings:
o post_max_size=100M
o upload_max_filesize=100M
o max_execution_time=1000
o max_input_time=1000

* Your current Settings:
o post_max_size=32M
o upload_max_filesize=24M
o max_execution_time=45
o max_input_time=60

I am not sure how willing the host will be to adjust my current settings.

Result

Array
(
[nodes] => Array
(
[0] => stdClass Object
(
[nid] => 1
[type] => video
[language] =>
[uid] => 1
[status] => 1
[created] => 1227762137
[changed] => 1227764560
[comment] => 2
[promote] => 1
[moderate] => 0
[sticky] => 0
[tnid] => 0
[translate] => 0
[vid] => 1
[revision_uid] => 1
[title] => Fruit Cake Lasy
[body] =>

[teaser] =>

   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   print dashplayer_get_player($params);

[log] =>
[revision_timestamp] => 1227764560
[format] => 3
[name] => beta
[picture] =>
[data] => a:1:{s:13:"form_build_id";s:37:"form-0614d4bcdc66149a861428ab071d1626";}
[path] => fruitcakelady
[play_counter] => 8
[last_comment_timestamp] => 1227762137
[last_comment_name] =>
[comment_count] => 0
[iid] =>
[taxonomy] => Array
(
)

[files] => Array
(
[1] => stdClass Object
(
[fid] => 1
[uid] => 1
[filename] => Fruitcake_Lady.wmv
[filepath] => sites/default/files/Fruitcake_Lady.wmv
[filemime] => video/x-ms-wmv
[filesize] => 2742457
[status] => 1
[timestamp] => 1227762078
[nid] => 1
[vid] => 1
[description] => Fruitcake_Lady.wmv
[list] => 1
[weight] => 0
)

)

[body_value] =>

   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   print dashplayer_get_player($params);

)

[1] => stdClass Object
(
[nid] => 2
[type] => video
[language] =>
[uid] => 1
[status] => 1
[created] => 1227765234
[changed] => 1227765234
[comment] => 2
[promote] => 1
[moderate] => 0
[sticky] => 0
[tnid] => 0
[translate] => 0
[vid] => 2
[revision_uid] => 1
[title] => elephant
[body] =>

[teaser] =>

   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   print dashplayer_get_player($params);

[log] =>
[revision_timestamp] => 1227765234
[format] => 3
[name] => beta
[picture] =>
[data] => a:1:{s:13:"form_build_id";s:37:"form-0614d4bcdc66149a861428ab071d1626";}
[path] => elephant
[play_counter] => 1
[last_comment_timestamp] => 1227765234
[last_comment_name] =>
[comment_count] => 0
[iid] =>
[taxonomy] => Array
(
)

[files] => Array
(
[2] => stdClass Object
(
[fid] => 2
[uid] => 1
[filename] => elephant.wmv
[filepath] => sites/default/files/elephant.wmv
[filemime] => video/x-ms-wmv
[filesize] => 1791884
[status] => 1
[timestamp] => 1227765206
[nid] => 2
[vid] => 2
[description] => elephant.wmv
[list] => 0
[weight] => 0
)

)

[body_value] =>

   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   print dashplayer_get_player($params);

)

[2] => stdClass Object
(
[nid] => 3
[type] => video
[language] =>
[uid] => 1
[status] => 1
[created] => 1227766154
[changed] => 1227766230
[comment] => 2
[promote] => 1
[moderate] => 0
[sticky] => 0
[tnid] => 0
[translate] => 0
[vid] => 3
[revision_uid] => 1
[title] => flvtest
[body] =>

[teaser] =>

   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   print dashplayer_get_player($params);

[log] =>
[revision_timestamp] => 1227766230
[format] => 3
[name] => beta
[picture] =>
[data] => a:1:{s:13:"form_build_id";s:37:"form-0614d4bcdc66149a861428ab071d1626";}
[path] => flvtest
[play_counter] => 4
[last_comment_timestamp] => 1227766154
[last_comment_name] =>
[comment_count] => 0
[iid] =>
[taxonomy] => Array
(
)

[files] => Array
(
[3] => stdClass Object
(
[fid] => 3
[uid] => 1
[filename] => 20051210-w50s_56K_3.flv
[filepath] => sites/default/files/ffmpeg/flvfile/20051210-w50s_56K_3.flv
[filemime] => application/octet-stream
[filesize] => 129444
[status] => 1
[timestamp] => 1227766122
[nid] => 3
[vid] => 3
[description] => 20051210-w50s_56K.flv
[list] => 1
[weight] => 0
)

)

[body_value] =>

   $params['width'] = 652;
   $params['height'] = 432;
   $params['playlist'] = 'videos';
   print dashplayer_get_player($params);

)

)

[total_rows] =>
)

Dashconfig.xml

http://www.wickedoctopus.com/beta/modules/amfphp
fd2c57df66e2d8529e28425b3c3f01af
http://www.wickedoctopus.com/beta

6

I generated my key using the http://www prefix

I hope that is the information you need. my site will certainly show you wwhat I am dealing with

cheers

tamatama’s picture

Assigned: tamatama » Unassigned
redrider’s picture

In you Dashplayer setup, make sure the path to you dashplayer has both the http:// and the www in it - I knpw it sounds weird but thats what was messing with me.

My playlist loads and plays vidao/audio after I hacked at that path.

tamatama’s picture

just checked, was hoping it was that easy :(, no I have the full URL http://www.wickedoctopus.com/beta/player/dashPlayer.swf

tamatama’s picture

forgot to add thanks redrider, appreciate your time in offering that up to me, I think that is the first time I have seen that isssue publicised :p

tamatama’s picture

more information from selecting preview button in views

Live preview
Display:
Arguments:
Separate arguments with a / as though they were a URL path.
Query

SELECT node.nid AS nid,
node.title AS node_title
FROM node node

Other queries

These queries were run during view rendering:
[0.4 ms] drupal_lookup_path
/* beta : drupal_lookup_path */ SELECT src FROM url_alias WHERE dst = 'node' AND language IN('en', '') ORDER BY language DESC
[14.94 ms] render_textarea
/* beta : render_textarea */ SELECT name FROM filter_formats WHERE format = 1
[0.44 ms] drupal_lookup_path
/* beta : drupal_lookup_path */ SELECT dst FROM url_alias WHERE src = 'admin/build/views/edit/videos' AND language IN('en', '') ORDER BY language DESC
[0.2 ms] drupal_lookup_path
/* beta : drupal_lookup_path */ SELECT dst FROM url_alias WHERE src = 'admin/build/views/export/videos' AND language IN('en', '') ORDER BY language DESC
[0.26 ms] drupal_lookup_path
/* beta : drupal_lookup_path */ SELECT dst FROM url_alias WHERE src = 'admin/build/views/clone/videos' AND language IN('en', '') ORDER BY language DESC

Title
Path This display has no path.
Query build time 17.33 ms
Query execute time -925.56 ms
View render time 84.16 ms

* Edit
* Export
* Clone

Title: Fruit Cake Lasy
Title: elephant
Title: flvtest

mutazmq’s picture

Title: Playlist not loading » Playlist is loading but I'm not getting the video played
Assigned: Unassigned » mutazmq

I have the latest version of:
* Services
* AMFPHP
* Node Service
* System Service
* Views Service
* Voting Service
* DASH Player

I have the latest version of dash player as well.

My problem is that I'm getting the playlist but the player doesn't play its movies. I did every thing in the tutorial of dash player and everything written in the forums but nothing has been changed.
I have the playlist displayed to the right-hand side of the player and the white circle in the main area, and the status bar of FF is showing "transferring data from www. ..."

Please help, this problem is driving me crazy!

Thanks in advance.

mrgoltra’s picture

I surrender to posting. 1 week trying to set this up on Drupal 6 but no luck.

I have re-installed everything using the latest module release. I am using AMFPHP head. I can't get the videos to play on D6. I have D5 install where it works great (same hosting company).

I have tried every suggestion that I have read on both forums (here and TMT) but no video plays, except when I put in the [video] tag.

Any ideas anyone?

Thank you,

Mark

travist’s picture

Mark,

Send me an email with your site information and I will take a look for free. I need to figure out what is missing in my documentation that is getting people stuck.

Thanks,

Travis.

mrgoltra’s picture

Travis,

Again thank you very much. I have never met anyone helpful as you. The problem I was having was when the site is offline videos will not play but as soon as I set the site online videos played without a hitch.

Thank you very much.

Mark

tamatama’s picture

great news Mark, I left all my info for 5 days and I haven't had a snippett yet. heres hoping someone can give me some advice soon on my issue

btw if your back here again Mark, why was your site offline??

mrgoltra’s picture

I was updating from 5 to 6. It didn't go so well. No matter how many times I tried from backup. So I decided to do a fresh install of 6 and still recreating everything. But video is working now.

Have you check your log files?

are you using dash player with flashvideo module?

If this is your site http://www.wickedoctopus.com

I noticed you don't have http://www.wickedoctopus.com/services/amfphp this configured. getting a page not found.

I do believe dashplayer needs Service and AMFPHP installed.

tamatama’s picture

I appreciate the assistance and happy to see you looked back.

my site is http://www.wickedoctopus.com/betabackup/services/amfphp and all looks good from there. Which log file are you referring to the actual Drupal log, SQL log or is there an application log.

I am using flashvideo with dash player. will poke around to look for the log and appreciate any outside the box thinking you can give me.

mrgoltra’s picture

Not a problem. I was referring to the Drupal log files.
how about node service permission? Both anonymous and authenticated user should be checked? I think there should be 2 entries the node service permission. Load own and Load all, try checking both.

how are you showing your video?

CCK using dash player lashvars?
node template?

try using this on a page [video] tags and see if the player plays.

tamatama’s picture

will look at all that thanks again...

UPDATE - travist is having a look at my site today or tomorrow so I am hoping that the issue willl be found. I will certainly give some feedback in this post once we have identified the root cause

cheers

likewhoa’s picture

Assigned: mutazmq » Unassigned
Status: Active » Closed (fixed)

closing issue since it's been neglected to long by op.