Commit 77c4d36
committed
Prevent players who have ownership of the player from locking it
- Make sure only the 'privileged' users can lock the video player (aka at the moment the current master and the instance creator). I wasn't sure if I wanted to allow people to take exclusive control over the video player without being master or instance owner, but ended up deciding that it could be too confusing and annoying for others.1 parent 551025b commit 77c4d36
File tree
3 files changed
+33
-7
lines changed- Assets/USharpVideo
- Scripts
3 files changed
+33
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
451 | 454 | | |
452 | 455 | | |
453 | | - | |
| 456 | + | |
454 | 457 | | |
455 | 458 | | |
456 | 459 | | |
| |||
903 | 906 | | |
904 | 907 | | |
905 | 908 | | |
906 | | - | |
| 909 | + | |
907 | 910 | | |
908 | 911 | | |
909 | 912 | | |
910 | 913 | | |
911 | 914 | | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
912 | 927 | | |
913 | | - | |
914 | | - | |
915 | | - | |
| 928 | + | |
| 929 | + | |
916 | 930 | | |
| 931 | + | |
| 932 | + | |
917 | 933 | | |
918 | 934 | | |
919 | 935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
374 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
375 | 378 | | |
376 | 379 | | |
377 | 380 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments