I am facing the problem. after installation of video module:

Notice: Undefined index: player_dimensions in video_helper->video_object() (line 17 of /var/www/../sites/all/modules/video/includes/video_helper.inc).

Notice: Undefined index: gif in theme_video() (line 63 of /var/www/..../sites/all/modules/video/video.theme.inc).

Notice: Undefined variable: player_type in jplayer_sort_files() (line 187 of /var/www/../sites/all/modules/jplayer/includes/jplayer.theme.inc).

Comments

swapna.m’s picture

This is in Drupal7... When the audio or video fields are empty...

Thanks,

swapna.m’s picture

Project: Salamander Skins » Video
Version: 6.x-1.x-dev » 7.x-1.0-alpha2
SchwebDesign’s picture

subscribing, i'm seeing this as well. Here's my messages:

    Notice: Undefined index: player_dimensions in video_helper->video_object() (line 17 of /var/www/html/JOSHUA/drupal/sites/all/modules/video/includes/video_helper.inc).
    Notice: Undefined index: png in theme_video() (line 63 of /var/www/html/JOSHUA/drupal/sites/all/modules/video/video.theme.inc).

SchwebDesign’s picture

Category: feature » bug

Anyone else have any issues or feedback on this?

Sorry, but i think this is more a bug than a feature request. This seems related to the use of thumbnails and occurs for me in the following scenario (and a few others but this is how it's currently set):

Do both these errors have to do with an issue with the path of the referenced video thumbnail?

i've confirmed my file exists at:
http://www.mydomain.com/sites/default/files/videos/thumbnails/default/vi...
and can view it via web browser. It's also correctly linked to from
http://www.mydomain.com/?q=admin/structure/types/manage/webinar/fields/f... in the "Default video thumbnail " section.

I have "Don't create thumbnail " selected and under "Preview thumbnail style "

the body field output in my view is printing the path:
http://www.mydomain.com/?q=sites/default/files/styles/thumbnail/public/v...

I've found this happens:
when i create a node and upload a video, after completion i check "Use the default thumbnail for this video?" After doing so, if i go back to edit the node, the "Use the default thumbnail for this video?" box is not checked... so it's not saving correctly.

I also cannot view the wmv video I uploaded. It says "No video? Get the Windows Media Plugin" in all browsers, even though I'm on Windows 7. ... but i'm not sure if that's related to this thumbnail issue.

Any other feedback would be greatly appreciated! Thanks for the great work on this module as we move towards Drupal 7.

heshanlk’s picture

Status: Active » Fixed

when i create a node and upload a video, after completion i check "Use the default thumbnail for this video?" After doing so, if i go back to edit the node, the "Use the default thumbnail for this video?" box is not checked... so it's not saving correctly.

There is no saving options, so work as designed.

I also cannot view the wmv video I uploaded. It says "No video? Get the Windows Media Plugin" in all browsers, even though I'm on Windows 7. ... but i'm not sure if that's related to this thumbnail issue.

That because you do not have Windows media player installed on your browser, every video except HTML5 compatible will funnel through a 3rd party plugin so you have to install plugin to play video. Eg. Flash for .flv files.

SchwebDesign’s picture

heshan.lk, thanks for your response, but do you have any knowledge or feedback you can share on the error messages?

That because you do not have Windows media player installed on your browser, every video except HTML5 compatible will funnel through a 3rd party plugin so you have to install plugin to play video. Eg. Flash for .flv files.

Hmmmm... what you mention here was certainly my first thought when i saw this message as well. I proceeded to double check and make sure i have the Windows media player installed in my browser, but after following the link that is given" "http://windows.microsoft.com/en-US/windows/downloads/windows-media-player" I'm led to understand that since i'm using Windows 7 Ultimate x64, this plugin is by default installed in my browser (IE9).

When i go to Tools > Manage Add-ons in IE i see Windows Media Player v 12.0.7601.17514 is installed and enabled. Thus, i suspect there is some other reason the video is not showing for the node I uploaded it to.

I have verified the video exists on the server and the link to the video on the "node/89/edit" page links to the correct wmv file. Which i can download and watch successfully on my computer. The display for the video field on the content type is set to "Video"

the fields html output is as follows:

<div class="field field-name-field-video field-type-video field-label-hidden"><div class="field-items"><div class="field-item even">
<object type="video/x-ms-wmv" data="<the correct absolute path to the video file>" width="640" height="360">
  <param name="src" value="<the correct absolute path to the video file>" valuetype="ref" type="<the correct absolute path to the video file>">
  <param name="animationatStart" value="true">
  <param name="transparentatStart" value="true">
  <param name="autostart" value="0">
  <param name="controller" value="1">
  No video?  Get the Windows Media <a href="http://www.microsoft.com/windows/windowsmedia/player/download/">Plugin</a></object></div></div></div>

Any response or feedback anyone could provide would be greatly apprecaited- thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.