Closed (fixed)
Project:
Video
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2006 at 18:00 UTC
Updated:
4 Mar 2007 at 15:00 UTC
This is a small fix to support http://drupal.org/node/76319
The issue is that if an admin sets "Play in node" to "yes," and also has video images enabled, users will see a page with both the image and the video.
This patch addes a small check in theme_video_image_body for
if(variable_get('video_playinbody', 0) == 0){
If there's a better place to put this, that's great, but this quick and dirty solution seems to be working so far.
Obviously if node/76319 gets changed this may be impacted.
| Comment | File | Size | Author |
|---|---|---|---|
| video_image_check.patch | 1.55 KB | seanbfuller |
Comments
Comment #1
seanbfuller commentedComment #2
fusion94 commentedThis can also be accomplished by commenting out line 153 (or so) in the video_image.module
What this allows for is no video thumbnailing/preview on the main video node page but still allows for video thumbnailing using Views to build a video tracker.
It works for me on 5.0 and haven't tested on anything lower.
Comment #3
fax8 commentedCommitted to HEAD. Thanks.
Fabio
Comment #4
(not verified) commented