Welcome, Guest
Username Password: Remember me

Media "Title" not working on study list view
(1 viewing) (1) Guest
Please be sure to provide your Joomla version, Php version, MySQL version, and how to recreate the problem.
  • Page:
  • 1
  • 2

TOPIC: Media "Title" not working on study list view

Media "Title" not working on study list view 10 Oct 2011 12:12 #2886

  • CW
  • OFFLINE
  • Junior Boarder
  • Posts: 29
On the study list view some of the title attributes are not being set for the media icons. Download images work, but streaming video and streaming audio do not. It seems as though $mimetype and some others are not being defined.

Carey
Last Edit: 10 Oct 2011 12:15 by CW.

Re: Media "Title" not working on study list view 10 Oct 2011 12:56 #2887

  • CW
  • OFFLINE
  • Junior Boarder
  • Posts: 29
Forgot to mention.... I think I found that code in site/components/com_biblestudy/lib/biblestudy.media.class.php

Is this right?

Thanks Tom
Carey

Re: Media "Title" not working on study list view 10 Oct 2011 13:42 #2888

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 305
So can you clarify, Carey - is it that the image is not appearing or that the video/audio is not playing?

Image is a required field in the media file record but mimetype is not. If you won't set it then there is nothing for the media.class to pull up.

Maybe include your site url so we can see the problem (if it's on a public site)?



Tom

Re: Media "Title" not working on study list view 10 Oct 2011 14:04 #2889

  • CW
  • OFFLINE
  • Junior Boarder
  • Posts: 29
Hi Tom,

Sorry I wasn't clear. The images show, but when you hover over the image the text in the "title" atribute of the image is suppose to show. I checked your site, and it seems to work right. I can see in the code that $mimetype including mimetext should show there, but I am getting a blank attribute.

Here is my site. Note that I have been tinkering with the biblestudy.media.class.php file trying to get it to work.

Thanks Tom for the help!
Carey

Re: Media "Title" not working on study list view 10 Oct 2011 14:22 #2891

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 305
Hi Carey,

"Title" is not one of the items included in the hover text, just mimetype (if set), duration (if set) and filesize (if set)

You in the right file, just look at the function getPlayerCode($params, $itemparams, $player, $image, $media) starting on line 387.

Feel free to make suggestions of other things you'd like to see there!

Tom

Re: Media "Title" not working on study list view 10 Oct 2011 16:41 #2894

  • CW
  • OFFLINE
  • Junior Boarder
  • Posts: 29
well I feel like an idiot....

I was thinking that text came from one of the text fields of the media image.

please disregard my short-sightedness

Carey
  • Page:
  • 1
  • 2
Time to create page: 0.82 seconds