Keyword

[SOLVED] player not appearing in "Category Blog" view for local files

  • Cat Conner
  • Cat Conner's Avatar Topic Author
  • Offline
  • New Member
More
9 years 1 month ago - 9 years 1 month ago #152171 by Cat Conner
I'm using AllVideos 4.7.0 in a Joomla 2.5 install without K2.

The problem is that the player does not appear under articles in the category blog view when the plugin is pointing to locally hosted files. External files such as YouTube and Vimeo show just fine both in category blog and article detail views.

The plugin works just fine inside articles, for both local and external files.

When an article containing the plugin that points to a youtube file is shown on a category blog page, the player appears and the YouTube video plays just fine.

But when a plugin statement pointing to a local file (doesn't matter what format, mov, mp4, etc.) is shown on the category blog page, a large blank space is shown where the video player should be. If you then click through to the article detail page, the video player appears where it should and the video plays.

Looking at the source code of the category blog page, you can see that first few allvideos container divs are appearing, but they are empty -- it does not contain the complete code necessary to show the file.

Source code generated by plugin in category blog view, with YouTube video inside:


Source code generated by plugin in category blog view, with local video file inside:


Anyone have an idea why the behavior is different, and what could be causing it?
Last edit: 9 years 1 month ago by Cat Conner. Reason: Mixed up the image files

Please Log in or Create an account to join the conversation.

More
9 years 4 weeks ago #152271 by Lefteris
Hi,

Try to use the development version from github.com/joomlaworks/allvideos/archive/master.zip .

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Cat Conner
  • Cat Conner's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 weeks ago #152554 by Cat Conner
OK, I uninstalled version 4.7.0, and installed the development version (says it's version 4.7.1). Same problem still exists.

Other ideas?

Please Log in or Create an account to join the conversation.

More
9 years 3 weeks ago #152674 by Lefteris
Check the browser console for any errors.

Is there a link to the page with the issue?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Cat Conner
  • Cat Conner's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 weeks ago #152699 by Cat Conner
Here's the link:

www.fawco.org/fawco-the-un/what-we-do/current-initiatives/women-s-rights/csw/csw-60-blog

This is a category blog page layout showing first the category description/image, then previews of articles. Under the article title "FAWCO UN Liaison Calls for Protection of Women Refugees" you will see the huge white space where the player should be loaded. If you click the "Read more" link (or the direct link on "video" that I put in as a workaround), you will see the article detail page where the player loads successfully.

The only errors I see in the browser console are font loading errors and a couple of file not found errors for missing css files -- all of which I'm already aware of.

Please Log in or Create an account to join the conversation.

More
9 years 3 weeks ago #152763 by Lefteris
@Cat Conner

The video initialization code is missing for some reason from your page. Check your template code or any third-party extensions that may alter the script tags added in your page.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Cat Conner
  • Cat Conner's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 weeks ago #152866 by Cat Conner
Thanks for the tip. It was a plugin (Content Read Less) that was stripping <SCRIPT> tags, but was not stripping iFrame tags. (That's why the external vids were working (loaded in an IFRAME), but the local ones weren't (loaded in a SCRIPT). Problem solved!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum