Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by SpencerS · May 30, 2017 at 07:28 PM · buildplayerwebglvideonot working

Video Player and Web GL build not working

I am reading a lot of problems with the new Video Player. Works well in the editor but has a lot of problems with building. The reason I started this post was I saw nothing specific to the Video Player and Web build problems.

I have tried video clips, URLs, preparing the video (has it's own problems), and even .mov. ogv, and some other formats. Nothing seems to work when I build out. My MOV is about 80mb. I am going to try a much smaller video next just to try and trouble shoot the problems.

So my question. Has anyone been able to get the video player to work on a web build?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by SpencerS · Jun 01, 2017 at 12:30 AM

I did finally find a solution. After much digging I learned my particular problem could be solved by having a .htaccess file placed anywhere within my hosted directory. I am no expert on hosting but when I dropped that file into my directory the video was able to play.

I hosted my own .mp4 file in a video directory on my site. The .htaccess was located in the root directory along with the index.html unity spits out.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jimm84 · Oct 10, 2017 at 08:54 AM 0
Share

Hello Spencer, do you think it has (had) something to do with the size? I have run into problems with loading stuff in the browser but found a work around. All looks good in firefox now.

avatar image eswarkumar-borra · Nov 07, 2017 at 11:18 AM 0
Share

@Spencer,I am trying play a video using URL but nothing working when i build WebGL. i am trying to open .html file into Firefox,chrome,safari it's showing blank screen. In unity Editor it's working fine .can you help me regarding this please..???

For your reference i am attaching snapshoot Please help me regarding the same

Thank you.alt text ESWAR

video-notworking.png (36.9 kB)
avatar image jimm84 eswarkumar-borra · Nov 07, 2017 at 11:21 PM 0
Share

@Spencer Hello, pure speculation but could this be something not to do with unity but how your HT$$anonymous$$L document is set up? Going through process of eli$$anonymous$$ation you mentioned that it worked in Unity but not from your browser? Co$$anonymous$$g from a web / flash back ground I remember having nightmares with the files paths and the player once you try to put it online.

Just a question, when you say you are viewing this in your browser have you uploaded this to the world wide web or is this from your desktop?

Thanks,

avatar image
0

Answer by Velcrohead · May 31, 2017 at 09:12 AM

Did you make any progress with this?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

122 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

VideoPlayer is not playing on WebGL on mobile 0 Answers

Physics objects not working after build 0 Answers

load scene after video ended 2 Answers

Using the plus edition would be ok to import (360) videos in video player? 0 Answers

HEEEEEEELP PLZ !!! I can't publish my webgl build casue it has no anti aliasing and other bad graphics 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges