sencha touch2 を使用してアプリケーションを作成し、phone gap build を使用してこれらのファイルをパッケージ化しています。現在、アプリケーションの起動中にスプラッシュ .png 画像を表示できます。しかし、アプリケーションの起動中にユーザーにスプラッシュ ビデオを表示する必要があります。だから私はスプラッシュビデオを取得していないビデオパスを追加したソース画像パスの代わりに追加しました。phone-gap がスプラッシュ ビデオをサポートしているかどうかについて知りたいです。サポートする場合は、サポートするビデオ形式を意味します。これを達成する方法を教えてください。
スプラッシュ画像のコードは次のとおりです: Config.xml(Working)
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.phonegap.example"
versionCode="10"
version = "1.0.0">
<!-- versionCode is optional and Android only -->
<name>ABC</name>
<gap:splash src="resources/splash/def.png" width="1024" height="768" />
<gap:splash src="resources/splash/def.png" gap:platform="android" gap:density="ldpi" />
<icon src="resources/icons/xyz.png" gap:platform="ios" width="80" height="80" />
<icon src="resources/icons/xyz.png" gap:platform="android" gap:density="ldpi" width="100" height="100"/>
</widget>
スプラッシュ ビデオのコードは次のとおりです: config.xml (動作しません)
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.phonegap.example"
versionCode="10"
version = "1.0.0">
<!-- versionCode is optional and Android only -->
<name>ABC</name>
<gap:splash src="resources/splash/AVIFile.avi.mp4" width="1024" height="768" />
<gap:splash src="resources/splash/AVIFile.avi.mp4" gap:platform="android" gap:density="ldpi" />
<icon src="resources/icons/xyz.png" gap:platform="ios" width="80" height="80" />
<icon src="resources/icons/xyz.png" gap:platform="android" gap:density="ldpi" width="100" height="100"/>
</widget>