Closed (fixed)
Project:
Embedded Media Field
Version:
6.x-1.2
Component:
Embedded Video Field
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
15 Jun 2009 at 08:34 UTC
Updated:
12 Dec 2009 at 10:47 UTC
i installed emfield , i have lightbox and swfobjectAPI, in the CCK i made and content type for youtube videos, but the video dont show up , when i click on Inspect element in firefox ...i see this odd code :
<iframe id="lightboxFrame" height="366" width="441" scrolling="auto" src="http://localhost/boswtol/emvideo/thickbox/%252F425/350/field_video/youtube/GiVoOY4kZVM" style="z-index: 10500;">
i think there is something wrong , isnt it supposed to show the youtube full URL to show the video ???
any Clue please ?
Comments
Comment #1
aaron commentedthat's supposed to show the field_name where you see %252F :(
are you using a view, the normal teaser/node display, or a custom theme to display the lightbox?
Comment #2
salateenoo commentedhelloo,
i use a normal node display, the video display in lightbox , i dont know why it displays this strange (%252F).
Comment #3
salateenoo commentedi forgot to say that i use the video field inside flexifield.
Comment #4
aaron commentedTry without the swfobject api; I think I'm seeing the same problem.
Comment #5
aaron commentedI've set it up so that swfobject doesn't load for YouTube videos displayed in a modal popup (as with Lightbox/Thickbox/Shadowbox).
However, I'd rather actually load the swfobject.js in the iframe, if possible, so will rework it all to do that at some point. Additionally, this doesn't resolve jwFlash Player in modal either.
Comment #6
aaron commentedOK, this is fully fixed now in the dev version: the iFrame includes proper html/head/body tags, and loads the scripts. it even suppresses the admin_menu for the iframe if that module is enabled.
Comment #8
nieuwkar commentedOk, this frustrating problem I have seems to be of a similar nature. I have Lightbox2, Emfield for CCK and SWF tools installed. I have a "see-video" button in my node and when pressed, a lightbox frame opens and starts to show the video. This works fine for youtube movies but when I add an flv movie to a node in edit mode it comes out like this in full node view:
/video-cck/lightbox2/88/400/320/field_video/zzz_custom_url/http%3A/%252Fwww.embed.smm.bin.ilsemedia.nl/m/m1cztldslh8t.flv
notice the %3A/ and %252F parts?
this causes the FLV movie not to show in IE6. I have found this piece of php in swftools.module which either doesn't work or has to to be implemented elsewhere:
$encoded = str_replace('%3A', ':', $encoded);
$encoded = str_replace('%252F', '/', $encoded);
I am really stuck after a long, long search and I am wondering if there is anyone out there who can help me with this?