2020-06-11 21:13:19 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2020-06-11 21:13:19 +08:00
|
|
|
using osu.Framework.IO.Stores;
|
|
|
|
using osu.Framework.Platform;
|
|
|
|
|
|
|
|
namespace osu.Game.Tournament.IO
|
|
|
|
{
|
2020-06-24 06:06:27 +08:00
|
|
|
public class TournamentVideoResourceStore : NamespacedResourceStore<byte[]>
|
2020-06-11 21:13:19 +08:00
|
|
|
{
|
|
|
|
public TournamentVideoResourceStore(Storage storage)
|
2021-11-28 23:14:12 +08:00
|
|
|
: base(new StorageBackedResourceStore(storage), "Videos")
|
2020-06-11 21:13:19 +08:00
|
|
|
{
|
|
|
|
AddExtension("m4v");
|
|
|
|
AddExtension("avi");
|
|
|
|
AddExtension("mp4");
|
|
|
|
}
|
|
|
|
}
|
2020-06-11 21:52:14 +08:00
|
|
|
}
|