Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video not playing #8

Open
PWA-GouldA opened this issue Nov 13, 2019 · 7 comments
Open

Video not playing #8

PWA-GouldA opened this issue Nov 13, 2019 · 7 comments

Comments

@PWA-GouldA
Copy link

Uploading video (MP4) to uLearn works without a hitch.

When added to a course, and then viewing the course, the video does not play.

Checking in an external media player, there are no issues.

@ulearnpro
Copy link
Owner

ulearnpro commented Nov 13, 2019 via email

@PWA-GouldA
Copy link
Author

Sorry, not a skype user.

I'm using the app in a subdirectory.

Worked out that the app isn't quite set up exactly the same as most laravel apps in that you do not use an alias to point at the public folder... that solved a couple of hiccups (and should be in the installation details).

Anyway, when going to a page with a video the video does not show.

The apache logs are giving:

5884 IP.ADDRESS.OBFUSCATED.HERE - - [20/Nov/2019:12:06:05 +0800] "GET /ul/storage/course//2/raw_1574221346_somefilename-1574221346934.mp4 HTTP/1.1" 404 1552

in .env APP_URL is set to https://machine/ul

the .htaccess I have changed the rewrite rule to remove the www requirement, and forced https on.
'''
RewriteCond %{HTTP_HOST} ^www. [NC]
RewriteRule ^(.)$ https://%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} !=on
RewriteRule ^(.
)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]


Host: Windows
Services: Apache/2.4.29 (Win64) OpenSSL/1.1.1c PHP/7.3.7 mod_h264_streaming/2.2.7


@jointothedarkside
Copy link

Sorry, not a skype user.

I'm using the app in a subdirectory.

Worked out that the app isn't quite set up exactly the same as most laravel apps in that you do not use an alias to point at the public folder... that solved a couple of hiccups (and should be in the installation details).

Anyway, when going to a page with a video the video does not show.

The apache logs are giving:

5884 IP.ADDRESS.OBFUSCATED.HERE - - [20/Nov/2019:12:06:05 +0800] "GET /ul/storage/course//2/raw_1574221346_somefilename-1574221346934.mp4 HTTP/1.1" 404 1552

in .env APP_URL is set to https://machine/ul

the .htaccess I have changed the rewrite rule to remove the www requirement, and forced https on.
'''
RewriteCond %{HTTP_HOST} ^www. [NC]
RewriteRule ^(.)$ https://%{HTTP_HOST}/$1 [R=301,L] RewriteCond %{HTTPS} !=on RewriteRule ^(.)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]


Host: Windows
Services: Apache/2.4.29 (Win64) OpenSSL/1.1.1c PHP/7.3.7 mod_h264_streaming/2.2.7

did you solve it? I'm having the same issue

@amitad16
Copy link

amitad16 commented May 1, 2020

Uploading video (MP4) to uLearn works without a hitch.

When added to a course, and then viewing the course, the video does not play.

Checking in an external media player, there are no issues.

You can refer to this comment #12 (comment)
I was facing the same issue. Able to solve it.

@habe90
Copy link

habe90 commented Jan 3, 2021

I also have same problem , whit playing video!

@habe90
Copy link

habe90 commented Jan 3, 2021

Uploading video (MP4) to uLearn works without a hitch.
When added to a course, and then viewing the course, the video does not play.
Checking in an external media player, there are no issues.

You can refer to this comment #12 (comment)
I was facing the same issue. Able to solve it.

Don't work!

@thanh-it38
Copy link

Tải video (MP4) lên uLearn hoạt động mà không gặp trở ngại nào.
Khi được thêm vào một khóa học và sau đó xem khóa học, video sẽ không phát.
Kiểm tra trong một trình phát phương tiện bên ngoài, không có vấn đề gì.

Bạn có thể tham khảo bình luận này #12 (bình luận) Tôi đã gặp phải vấn đề tương tự. Có khả năng giải quyết nó.

help meeeee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants