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 cannot be played if not logged into a Google account #1

Open
limzykenneth opened this issue Dec 3, 2024 · 5 comments
Open

Video cannot be played if not logged into a Google account #1

limzykenneth opened this issue Dec 3, 2024 · 5 comments

Comments

@limzykenneth
Copy link
Member

@tuantinghuang

The URLs used for the video on this line points to a Google Cloud storage account reference. To be able to load and view the video, the user must have an active session logged into their Google account in their browser.

If possible it would be better to use a CDN service to serve the video instead, if it is easier to setup, Google Cloud CDN can do the job. Do let me know if any help is needed to set these up though.

@tuantinghuang
Copy link
Collaborator

@limzykenneth Hi! Thank you for the note. I'm not really familiar with CDN, and I thought I set it up as a CDN bucket, but maybe I misunderstood something in the process! I would like to have your help on this if possible! Also, in the long run, would it be better if the video (CDN) is served from Processing's account?

@limzykenneth
Copy link
Member Author

Is the video currently not on the foundation's account?

@tuantinghuang
Copy link
Collaborator

No, I didn't have access to the foundation's account, so I'm currently using the CDN from my school google account!

@limzykenneth
Copy link
Member Author

limzykenneth commented Dec 6, 2024

@tuantinghuang I've moved the video to the foundation's Cloudflare account so we have storage and CDN there. Can you try swapping out for this URL and see if there is any problem? https://hello-assets.p5js.org/p5-video-draft-3.webm

Another thing is that I might want to try reencoding the video to reduce the file size, I'm not familiar with the player you are using however, it is possible for it to support multiple sources a la <video> tag with multiple <source> tags? I see that it does indeed support multiple sources, I'll upload a few reencoded versions and let you know here.

For the links can you have a try for below in order and let me know if there are any problems with the encodings I did:

  1. https://hello-assets.p5js.org/p5-video-draft-av1.webm
  2. https://hello-assets.p5js.org/p5-video-draft-vp9.webm
  3. https://hello-assets.p5js.org/p5-video-draft-x264.mp4

@tuantinghuang
Copy link
Collaborator

Sorry for the delay, these R2 bucket links work! Thank you, Kenneth! I will send an updated version of videos once I have more details fixed.

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

2 participants