playcanvas / playcanvas/editor

MP4s can't be played in Safari launch page

Open
#265 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: launch tab area: publishing area: rest api bug
Dominant language
TypeScript
Stars
1.3k
Forks
215
Avg merge
1d 29m
Merged PRs (30d)
30

Description

In Safari on macOS, load the Video Texture tutorial scene and hit play:

https://playcanvas.com/project/405850/overview/tutorial-video-textures

The video won't play back. But if you run a published build, it works.

In the launch page, the video is retrieved via the REST API. But in a published build, it's served directly from S3. This difference seems to be causing the problem somehow.

Anybody got any more thoughts as to how this could be fixed maybe?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Safari on macOS with the Video Texture tutorial scene from the linked PlayCanvas project. Compare how the launch page retrieves the MP4 through the REST API with how a published build serves it from S3; done means the video plays in the launch page as it does in the published build.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.