Commit 21dbb4e
authored
CU-868f2gyjp: Add Sample Video For Editor Testing (#207)
### TL;DR
Added sample video and content for editor mode in the Video content type.
### What changed?
- Updated the `GetFullVideoFilePath()` method in the `Video` class to return a sample video path when running in the Unity Editor
- Added a check for `Application.isEditor` that returns a predefined sample video path
- Added `UnityEngine` namespace import to support the `Application` class
- Updated the Files.zip binary file to add a sample video
### Sample Video
The sample video is Big Buck Bunny; likely one of the most commonly used videos for testing purposes. Created by Blender in 2008 - it's open license, high quality and family friendly content was setup specifically for this use case. For more details see here: https://peach.blender.org/about/1 parent 7269867 commit 21dbb4e
2 files changed
+6
-1
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
160 | 165 | | |
161 | 166 | | |
162 | 167 | | |
| |||
255 | 260 | | |
256 | 261 | | |
257 | 262 | | |
258 | | - | |
| 263 | + | |
0 commit comments