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

Add mp4 Files to the Webpack Loader #39707

Closed

Conversation

Aurorum
Copy link
Contributor

@Aurorum Aurorum commented Feb 26, 2020

Changes proposed in this Pull Request

This adds mp4 files to the Webpack loader (for examples of future usage, see #39617).

Testing instructions

I changed the video in the Free Photo Library Card to test his. You can head to Customer Home, and start the video in that card. Verify through the link that the file is loaded, and that it plays properly.

Screenshot 2020-02-26 at 16 44 46

@mmtr
Copy link
Member

mmtr commented Feb 27, 2020

Thanks @Aurorum! Just a nitpick: I found weird the video to be in the images folder. Is there any reason why we can't create a videos directory?

@mmtr mmtr requested a review from a team February 27, 2020 10:09
@mmtr mmtr added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Feb 27, 2020
@jsnajdr
Copy link
Member

jsnajdr commented Feb 27, 2020

Unfortunately, there are several more places that need to be updated, too:

@Aurorum
Copy link
Contributor Author

Aurorum commented Feb 27, 2020

Thanks @mmtr and @jsnajdr! :)

Unfortunately, there are several more places that need to be updated, too

I've tried to update as many as I can find, and have opened a PR in Automattic/wp-desktop#789 for the case you linked.

Is there any reason why we can't create a videos directory?

Nope, done! :)

@kwight
Copy link
Contributor

kwight commented Mar 4, 2020

@Aurorum great video! 🐯

I'm wondering about this approach down the line though, and questioning if we should have video files in the repo at all. Every video we add is at least another 2MB for every repo checkout – is this fair to do? ¯_(ツ)_/¯ I'll post internally with a few other questions too, to get some wider company clarity, we have a few different options.

@kwight
Copy link
Contributor

kwight commented Mar 4, 2020

Some internal discussion: p4TIVU-9n1-p2

@sixhours
Copy link
Contributor

sixhours commented Mar 5, 2020

(Edit to the above comment to make the auto-linking to P2 functionality work.)

@Aurorum Aurorum requested review from a team as code owners March 5, 2020 17:05
@Aurorum
Copy link
Contributor Author

Aurorum commented Mar 5, 2020

Thanks for checking whether or not this is the ideal approach! In the meantime, I've switched images to media.

Screenshot 2020-03-05 at 16 58 08

@mmtr
Copy link
Member

mmtr commented Mar 11, 2020

Some internal discussion: p4TIVU-9n1-p2

We finally decided that our marketing team will be making these videos and uploading them to our YouTube channel, so we won't need this loader for now.

Thanks anyway @Aurorum!

@mmtr mmtr closed this Mar 11, 2020
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Mar 11, 2020
@Aurorum
Copy link
Contributor Author

Aurorum commented Mar 11, 2020

Thanks @mmtr! Could you please let me know when the videos are available to use in #39617? :)

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

Successfully merging this pull request may close these issues.

6 participants