Hello,
I am having trouble making the player work for Drupal7.7. The player keep looping and no image is shown and no video is loading, but I can see the title of the different videos. I read the documentation about how to set it up, I might be missing some crucial part but am not sure.
Checking the view theming information shows this error "mediafront-player-view.tpl.php (File not found, in folder sites/all/modules/mediafront/views/)", Where can I get this file? I don't know if this is the reason the videos not showing or it is something else.
- I have the view format to "media player" with a preset selected. Filters content:published and content type: video
- I have a content type video with a video upload field for uploading the video
I also did try the other alternative which is adding a cck media player instead of the view but the result is the same. The videos I am using are flv files converted using ffmpeg transcoder. The video upload and convert fine with thumbnail, I can play it using flowplayer.
Thanks a lot for helping
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | printscreen-.png | 12.53 KB | voyelle |
| #4 | Views_Page__Theming_Information.png | 39.9 KB | dezb |
Comments
Comment #1
voyelle commentedSorry I only meant to post it once, didn't want to duplicate. But I cannot delete it
Comment #2
travist commentedWhat version of Views and Drupal 7 are you using? This seems that views is looking for a template file that does not exist. Not convinced this is a MediaFront issue.
Comment #3
voyelle commentedThank you Travis for your help, I am using
- Drupal 7.7
- Views 7.x-3.0-rc1
- MediaFront 7.x-1.2
- Video 7.x-1.0-alpha2
- Media 7.x-1.0-beta5
Comment #4
dezb commentedAttached is a screen shot of the message received in Views setup page (under Advanced>Other>Theme:Information) that I've also experienced. This may also be related to a bug report I registered on August 9th 2011 at http://drupal.org/node/1241952.
I am using;
- Drupal 7.7
- Views 7.x-3.0-rc1
- MediaFront 7.x-1.2
Hope this is of some assistance.
Comment #5
voyelle commentedThanks #dezb, I was using UrbanSolice theme, I change it to Bartik-7.7, it's still the same problem. The player keep looping and no image or video is shown. The timing on the video always shows 00:00, but if I use a different player (flowplayer or mediaelement video), the video play just fine.
Comment #6
voyelle commentedAttach is the printscreen of the view page.
Comment #7
travist commentedvoyelle,
Is your site live to where I can take a look? I might be able to figure out what is going on by just glancing at page.
Thanks,
Travis.
Comment #8
artatum commentedFrom your screen, I would say there is no video asset in your query.
If you use Media, then in your video content type change your ' video upload' field for :
video_media_asset field_video_media_asset Multimedia asset Media file selector
It is really better to use, and it works in Views.
Comment #9
voyelle commentedThanks Travis,
Here is the link to the view page http://www.cnnafrique.com/videos
Here are the links to the individual videos page with flowplayer
- http://www.cnnafrique.com/videos/test
- http://www.cnnafrique.com/videos/one_day
- http://www.cnnafrique.com/videos/pirates_caribes
Comment #10
artatum commentedHi
Well, my name is not Travist...
Anyway I assume your purpose would be better accomplished by adding
body{
background-attachment:fixed;
}
in your css...
But I may be wrong...
Comment #11
voyelle commentedSorry Artatum, Thanks I changed the background-attachement as suggested. Unfortunately it didn't change the player from looping. I have the impression that the player is looking somewhere else for the video file.
Comment #12
voyelle commentedI checked the source code on mediafront to compare with mine to see if I can figure something out.
Mine doesn't have a img or video tags only empty div
while on mediafront:
This look like the playlist is not being generated properly in my case. Anyone know how the module is generating playlist from the view result ?
Thanks
Comment #13
voyelle commentedI figured that the view is not generating the playlist correctly in my case.
When I modify the playlist.xml under sites/all/modules/mediafront/players/osmplayer/player/playlist.xml to put manually my videos and specify this playlist on the preset settings, I can call the player with this preset on a page that will work. The only thing this is not optimal because it's done manually and in case I update the mediafront module I might have to start over again. So anyone who has been able to make it work for Drupal 7.7 please let me know.
Thanks
Comment #14
artatum commentedDid you try #8 suggestion?
Comment #15
voyelle commentedYes I did
Comment #16
voyelle commentedI had the locale and translation modules enabled. That was causing the problem I guess, because when the player was looking for the file to load, he was looking into a path with 'und' in it. Which is for 'language none' and my videos all had language set. I change it to 'language neutral' now the videos show up fine.
I noticed a couple of javascripts problems:
- If 'aggregate javascript' is selected under performance: the videos will not show or play for any users role other than the administrator. the log will show "file_get_contents(1)" error.
- Google chrome developer tools report this error:
medifront.js line 31: Uncaught TypeError: Object #<object> has no method 'onLoaded'- When using the media player block generated by the module with a preset with shockplayer template : the player, the previous and next arrows work fine, but when you select the video from the view, he just load a random video not the one you clicked on.
Thanks everyone for helping, I will post back if I find out about theses. Very cool module
Comment #17
enjoylife commented