├── README.md ├── android-plugin-source ├── AndroidManifest.xml ├── libs │ ├── android-support-v4.jar │ └── classes.jar ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── ads_media_controller.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ └── values │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── insthync │ └── unityvideoview │ ├── AdsMediaController.java │ └── VideoViewPlugin.java └── unity3d-project └── Assets ├── Plugins ├── Android.meta ├── Android │ ├── AndroidManifest.xml │ ├── AndroidManifest.xml.meta │ ├── android-support-v4.jar │ ├── android-support-v4.jar.meta │ ├── res.meta │ └── res │ │ ├── layout.meta │ │ ├── layout │ │ ├── ads_media_controller.xml │ │ └── ads_media_controller.xml.meta │ │ └── values.meta ├── MediaPlayer.meta ├── MediaPlayer │ ├── IMediaPlayerAndroid.cs │ ├── IMediaPlayerAndroid.cs.meta │ ├── IMediaPlayerIOS.cs │ ├── IMediaPlayerIOS.cs.meta │ ├── IMediaPlayerNull.cs │ ├── IMediaPlayerNull.cs.meta │ ├── MediaPlayerBehavior.cs │ ├── MediaPlayerBehavior.cs.meta │ ├── MediaPlayerInterface.cs │ └── MediaPlayerInterface.cs.meta ├── iOS.meta └── iOS │ ├── VideoView.mm │ └── VideoView.mm.meta └── Scripts ├── MediaPlayerTest.cs └── MediaPlayerTest.cs.meta /README.md: -------------------------------------------------------------------------------- 1 | unity3d-videoplayer-plugin 2 | ========================== 3 | 4 | Unity3d video player plugin for iOS and Android design for Advertisment 5 | 6 | You can see how to implement plugin via sample source located in "/unity3d-project/Assets/Scripts/MediaPlayerTest.cs" -------------------------------------------------------------------------------- /android-plugin-source/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | 10 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /android-plugin-source/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insthync/unity3d-videoplayer-plugin/25f9f1f2ce3a933231cd5dc5fb2cbec2b2b3a01e/android-plugin-source/libs/android-support-v4.jar -------------------------------------------------------------------------------- /android-plugin-source/libs/classes.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insthync/unity3d-videoplayer-plugin/25f9f1f2ce3a933231cd5dc5fb2cbec2b2b3a01e/android-plugin-source/libs/classes.jar -------------------------------------------------------------------------------- /android-plugin-source/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-18 15 | android.library=true 16 | -------------------------------------------------------------------------------- /android-plugin-source/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insthync/unity3d-videoplayer-plugin/25f9f1f2ce3a933231cd5dc5fb2cbec2b2b3a01e/android-plugin-source/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-plugin-source/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insthync/unity3d-videoplayer-plugin/25f9f1f2ce3a933231cd5dc5fb2cbec2b2b3a01e/android-plugin-source/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-plugin-source/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insthync/unity3d-videoplayer-plugin/25f9f1f2ce3a933231cd5dc5fb2cbec2b2b3a01e/android-plugin-source/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-plugin-source/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/insthync/unity3d-videoplayer-plugin/25f9f1f2ce3a933231cd5dc5fb2cbec2b2b3a01e/android-plugin-source/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-plugin-source/res/layout/ads_media_controller.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 12 | 13 | 19 | 20 | 29 | 30 | 31 | 32 | 33 | 34 | 40 | 41 | 51 | 52 |