investigating Hosted uploading videos issues

alt=
@luis789
7 years ago
88 posts
Hello all!
I'm wondering if anybody is having issues with local hosting(uploaded videos)?
On my none https:// site the local hosted videos are not playing at all. I have changed to other skins, players with no luck. It only shows the player, but no video image.
If anybody of you have seen similar issues, please let me know how you fix it. I also had updated jamroom and its modules to the latest stable version and the videos local hosted videos are not working at all. The local hosted audio is working fine.


Thank You
updated by @luis789: 09/13/17 07:35:08AM
michael
@michael
7 years ago
7,697 posts
Sure your on the 'stable' branch?

If you were on the 6.1 beta branch, then the fix is this:

Blog : "Upgrading to Jamrom 6.1 Videos have gone"
https://www.jamroom.net/michael/blog/96/upgrading-to-jamroom-61-videos-have-gone
alt=
@luis789
7 years ago
88 posts
Hello Michel and thanks for Your feedback.
I'm not using the Jamroom 6.1. I'm using the stable version 6.0.7
Will updating to 6.1 beta fix the issue?
Below is the link so you can see what I meant.
http://www.ecuahits.com/lasmamis/uploaded_video/7/tu-traicion

Thank You.
douglas
@douglas
7 years ago
2,773 posts
I can see and watch the video here: http://www.ecuahits.com/lasmamis/uploaded_video/7/tu-traicion without issue on my Mac using FireFox browser and on my android phone using FireFox.

What browser are you using?

It seems that I recall one of the browsers, Safari or Chrome, has issues playing videos and has already been fixed for version 6.1.

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
7 years ago
10,144 posts
Upgrading to 6.1 + the new Video module will fix up playback issues on a number of browsers. Just make sure after upgrading that you go into the ACP -> Profiles -> Video -> Tools and run the "Verify Video Files" tool so the proper video files are created. Note that you will need some extra disk space since the new files can be a little bit larger than previously.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@luis789
7 years ago
88 posts
Thanks for the update.. I forgot to mention that on iDevices the uploaded Video plays fine. The problem is when playing from a PC using Google chrome. With IE 11 works fine. I had not tried with other browser.
I'll update Jamroom to 6.1 beta tonight and let you know if the problem got fixed.
Thank You
alt=
@luis789
7 years ago
88 posts
After upgrading to Jamroom 6.1 beta version the issue got worse.
Before the upgrade I was able to play the uploaded videos from an Idevice or android phone. From a PC in only worked on Internet explorer. Somehow it fail to play on google chrome.
After the update, the uploaded videos do not play any where including the idevices and Androids. From a PC it does not play on Internet explorer 11 either.
When clicked in the video Icon the below message is displayed:
"An error was encountered loading the media URL" when clicked okay, nothing happens.
In the system log, the below message is displaying.
404 Page not found: /modules/jrCore/router.php?_uri=eddy-albacura/video
Also performed the :
ACP -> Profiles -> Video -> Tools and run the "Verify Video Files" with no luck.
Do You have any suggestions?
michael
@michael
7 years ago
7,697 posts
Check the videos have finished processing:
DASHBOARD -> QUEUE VIEWER

Videos need to be re-converted in some cases, so it can take a while if you have many videos.
michael
@michael
7 years ago
7,697 posts
You have something wrong with your server too, when I click on the VIDEO tab, the url im clicking is:
https://www.ecuahits.com/videos
but the server re-routes it to:
https://www.ecuahits.com/modules/jrCore/router.php?_uri=videos

Thats not correct. Check that you have the correct .htaccess file in the root folder.
alt=
@luis789
7 years ago
88 posts
Hello Micheal. .thanks for the feedback.
Quote:
DASHBOARD -> QUEUE VIEWER
The verify video found 25 local uploaded videos. When I checked in the Queue Viewer, it is empty.

This error is fixed. There was a typo error in the site builder.

This is what I have in the .taccess file
# Jamroom 5 Apache .htaccess file
DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php

Options +FollowSymLinks
Options -MultiViews -Indexes

# Use ETags
<IfModule mod_headers.c>
Header unset ETag
FileETag None
# Expires for CSS, JS and Images
<FilesMatch ".(ico|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Thu, 15 Apr 2018 20:00:00 GMT"
</FilesMatch>
</IfModule>

# Compress everything we can
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript text/javascript-x application/javascript
</IfModule>

# All requests through the router
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]


RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit

Thank You
updated by @luis789: 06/14/17 06:32:02AM
michael
@michael
7 years ago
7,697 posts
if the link was a typo, then chances are the .htaccess file is fine.

test with a different skin to see if the videos play there, maybe Elastic2. That will tell you if the issue is a problem with the skin or a problem somewhere else.

Run the integrity check too and clear the caches.
brian
@brian
7 years ago
10,144 posts
Your rewrite rules section is wrong - this:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]


RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Needs to be this:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]



--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 06/14/17 06:51:02AM
alt=
@luis789
7 years ago
88 posts
Thanks Brian.. I changed the .htaccess and now is like this:
# Jamroom 5 Apache .htaccess file
DirectoryIndex index.html index.php sitemap.xml modules/jrCore/router.php

Options +FollowSymLinks
Options -MultiViews -Indexes

# Use ETags
<IfModule mod_headers.c>
Header unset ETag
FileETag None
# Expires for CSS, JS and Images
<FilesMatch ".(ico|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Thu, 15 Apr 2018 20:00:00 GMT"
</FilesMatch>
</IfModule>

# Compress everything we can
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript text/javascript-x application/javascript
</IfModule>

# All requests through the router
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]
</IfModule>


# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit
However the error stays the same.
Quote:
test with a different skin to see if the videos play there, maybe Elastic2. That will tell you if the issue is a problem with the skin or a problem somewhere else.

Run the integrity check too and clear the caches.
Done that and tried on different skin and the error is the same.
I can see at least one improvement. The video image is now showing, but when clicked on play the below message is dizplayed
https://www.ecuahits.com/lasmamis/uploaded_video/7/tu-traicion
errormessage.PNG.png
errormessage.PNG.png  •  333KB


updated by @luis789: 06/14/17 08:24:24AM
brian
@brian
7 years ago
10,144 posts
There's no media file associated with that item:

https://www.ecuahits.com/uploaded_video/stream/video_file/7/key=1/file.m4v

Did you run the ACP -> Profiles -> Video -> Verify Video Files tool after updating to the latest video module?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@luis789
7 years ago
88 posts
Quote:
Did you run the ACP -> Profiles -> Video -> Verify Video Files tool after updating to the latest video module?

Yes I did.

One more thing..
I just tested on your Demo site and the issue is the same
http://demo.jamroom.net/jrVideoPro/audiostagg/uploaded_video/1/sentenced
updated by @luis789: 06/14/17 08:39:16AM
brian
@brian
7 years ago
10,144 posts
There's something up with the Video Pro - I will check that out:

http://demo.jamroom.net/jrProJamLight/demoadmin/uploaded_video/3/i-am-jamroom


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
7 years ago
10,144 posts
Try this for me on your site - on line 6259 of the jrCore/index.php file you will find this:

    if (!isset($_rt["{$fld}_size"]) || $_rt["{$fld}_size"] < 1) {
        header('HTTP/1.0 404 Not Found');
        jrCore_notice('Error', 'invalid media id - media file not found');
    } 

Remove those 4 lines and see if that works.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@luis789
7 years ago
88 posts
Hello Brian
Quote:
Try this for me on your site - on line 6259 of the jrCore/index.php file you will find this:

if (!isset($_rt["{$fld}_size"] ) || $_rt["{$fld}_size"] < 1) {
header('HTTP/1.0 404 Not Found');
jrCore_notice('Error', 'invalid media id - media file not found');
}
I removed the 4 lines as you've suggested. Run integrity check, reset chaches, verify video files.
I number my findings to prevent confusion.

1) The problem got fixed but only if it is played from an Android smart phone and a selected skins.

2) On an Iphone and Ipad with safary or google chrome browser the same error message as described earlier(see above image) appears.

3) From an Android smart phone the videos only works on Projam, media Pro and Elastic 2 skin. All other skins the video fails to play with the same error message.
4) When I tested from a desktop pc or laptop using google chrome or internet explorer 11 the same error appears in the three skins(see above image error). When I tested on the other skins the error do not show, but the video will not play.

I hope it made any sense my explanation. Please let me know if you need any further clarification.
alt=
@luis789
7 years ago
88 posts
UPDATE:
I tried again from a Regular PC with win10 and google chrome and the videos are playing now but only on Media Pro, Projam, nova, and Elastic 2
on the other skins the error stays
brian
@brian
7 years ago
10,144 posts
There are some template updates that are going to be needed for some of the skins for the new Video module update - we're working on those right now.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags