Node display leaves a big blank when no video is embedded (where the YT field is optional)

bobdalob - March 18, 2007 - 18:13
Project:YouTube CCK
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:aaron
Status:closed
Description

This is sort of dependant upon use. I have a post submit form with several optional fields including a youtube field. If the field is not used, the post has a gaping space an embed which does not exist.

There are workarounds however I think there should be a bit of code as standard that would exclude the display of a non-existing embed.

AttachmentSize
youtubespace.JPG20.06 KB

#1

Tresler - March 18, 2007 - 19:43

Can you post the source of the page with the big white space - I'd like to see what the module is generating.

#2

bobdalob - March 19, 2007 - 11:56

Attached.

AttachmentSize
sample page with no youtube content.txt 9.41 KB

#3

aaron - March 19, 2007 - 13:25

I fixed this a week ago or so. Please make sure you're using the latest release, and let me know if you're still having the problem.

Thanks,
Aaron

#4

aaron - March 20, 2007 - 20:42
Assigned to:Anonymous» aaron
Status:active» fixed

oh, whoops, i'd fixed it, but forgot to commit the change. sorry :(

the latest release fixes this, and also retrieves thumbnails from the youtube api (assuming you've given a key at /admin/settings/youtube_cck)

#5

bobdalob - March 22, 2007 - 10:19

I'm away from my machine for a few days but have no reason to doubt all is resolved. Thanks

#6

Anonymous - April 5, 2007 - 10:30
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.