Closed (cannot reproduce)
Project:
Media: Dailymotion
Version:
7.x-1.0-alpha1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2011 at 14:54 UTC
Updated:
3 Oct 2012 at 21:04 UTC
Jump to comment: Most recent file
Comments
Comment #1
artatum commentedI've tried on my local computer (2nd setup) on a previous version of the same site (only a few days old). Here I can paste embed code but not the url ...
And the embed daily player is not displayed : I only see an icon with a code.
In osm player, the play button disappeared : nothing on the video's center, and even in the control bar of the player...
I've enabled everything in media display file and in my content-type. (youtube works, vimeo as well) and tried with every version of media module :
7.x-1.0-rc2
7.x-2.0-unstable2
7.x-2.x-dev
nothing worked.
I've also tried all this on a clean new D7 install with only these 2 modules added (media 7.x-1.0-rc2). Embed code failed as well when pasting, but strangely the video is finally displayed (thoughI could not even save the edit!)
Comment #2
artatum commentedMore news:
On the clean install (3rd setup, on the web), (where I succeeded to paste one embed code, and the video player dailymotion displays well) I've tried to create a second video from DM : impossible to paste the code : when submitting : page not found in the overlay). And the same occurs if I try to paste the previous code, which has been ok the first time.(??)
On this install I have
media : 7.x-1.0-rc2
file entity 7.x-1.0-rc2
All others versions (unstable, 7x2 dev...) failed on embed.
Could you tell us which versions of modules you use ?
Comment #3
thedotwriter commentedI worked on a strictly similar module one month ago before the release of this project. I just made some tests and the thumbnail seems to appear when an URL or a embed code is submitted.
Let me know if it works.
@marvil07 : My code is based on the media_vimeo module whereas yours seems to be based on media_youtube but if my work can help you, feel free to use it in your module : )
Comment #4
bennetteson commented@thedotwriter
Not working for me.
Comment #5
thedotwriter commentedHi bennetteson,
Could you be a little more specific on what's not working for you ?
Comment #6
bennetteson commentedSorry @thedotwriter, is'nt in your code. My problem is already known : http://drupal.org/node/1322112
Comment #7
marvil07 commentedSorry for the delay here. It seems like I did not get auto-subscribed to all issues on this module by default :-(
The code released on alpha1 should handle both dailymotion URLs and embed code as input for remote media.
It's hard to actually try to fix a bug with so little information.
@artatum: Can you please provide the embed or the links you can not make it work?
@thedotwriter: Thanks for sharing the code. You are right, my code is based on Media: Youtube project. Actually I would really useful if you can point me to any problem/missing feature you would like in this project that is on the zip you added(sorry, I did not reviewed your zip now, but if you can point me something specific I will ;-) ).
Comment #8
thedotwriter commentedA month has passed since I posted my work and I have to admit that I don't remember all the details. But if you want some help I can give it a try ; )
I haven't tested your module a lot, so I could only advise you to compare certain pieces of your code with mine.
The major problem that I remember was that the thumbnail wasn't generated at all, even after a few tests. So you could look at my
getOriginalThumbnailPathfunction to find solutions.Artatum seems to have some troubles to load a video from a URL, the problem may come from your patterns array in the
parsefunction but i'm certainly not a REGEX expert ... I only know that sometimes there's a little garbage in the given URL that the user could copy (e.g : http://www.dailymotion.com/video/x9m07e_drupal-6-le-selecteur-de-langue_...#rel-page-1), that could be troublesome.Comment #9
marvil07 commentedCleaning the queue.
I tried the URL from #8(http://www.dailymotion.com/video/x9m07e_drupal-6-le-selecteur-de-langue_...), and it works.
I have also tried current embed code provided by Dailymotion and it works correctly.