- Posts: 4
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- [SOLVED] player not appearing in "Category Blog" view for local files
[SOLVED] player not appearing in "Category Blog" view for local files
- Cat Conner
-
Topic Author
- Offline
- New Member
Less
More
9 years 1 month ago - 9 years 1 month ago #152171
by Cat Conner
player not appearing in "Category Blog" view for local files was created 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?
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.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 4 weeks ago #152271
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic player not appearing in "Category Blog" view for local files
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
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
9 years 3 weeks ago #152554
by Cat Conner
Replied by Cat Conner on topic player not appearing in "Category Blog" view for local files
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?
Other ideas?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 3 weeks ago #152674
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic player not appearing in "Category Blog" view for local files
Check the browser console for any errors.
Is there a link to the page with the issue?
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
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
9 years 3 weeks ago #152699
by Cat Conner
Replied by Cat Conner on topic player not appearing in "Category Blog" view for local files
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.
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.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 3 weeks ago #152763
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic player not appearing in "Category Blog" view for local files
@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.
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
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
9 years 3 weeks ago #152866
by Cat Conner
Replied by Cat Conner on topic player not appearing in "Category Blog" view for local files
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.
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- [SOLVED] player not appearing in "Category Blog" view for local files