public static class CosMediaPlayer {
/// <summary>
/// Set the shown video and optionally the preloading video url.
/// </summary>
/// <remarks>
/// If the video at `videoUrl` is already playing, it will continue playing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-09-03 12:46:00.916 32334-32373 E/AndroidRuntime: FATAL EXCEPTION: UnityMain | |
Process: com.gamingforgood.MobilePlugins, PID: 32334 | |
java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
Version '2020.3.35f1 (18e4db7a9996)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a' | |
Build fingerprint: 'samsung/crownltexx/crownlte:10/QP1A.190711.020/N960FXXU9FVH1:user/release-keys' | |
Revision: '28' | |
ABI: 'arm' | |
Timestamp: 2022-09-03 12:46:00+0200 | |
pid: 32334, tid: 32549, name: BanubaSDK nativ >>> com.gamingforgood.MobilePlugins <<< | |
uid: 11291 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
concurrent = 1 | |
check_interval = 0 | |
[session_server] | |
session_timeout = 1800 | |
[[runners]] | |
name = "poppy mac-m1 static.123.23.234.188.example.com" | |
url = "https://gitlab.domain.com/" | |
token = "xcensoredx" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-03-26 08:14:43.358 31928-31928 W/Zygote: Unable to open libbeluga.so: dlopen failed: library "libbeluga.so" not found. | |
2022-03-26 08:14:43.360 31928-31928 I/libc: SetHeapTaggingLevel: tag level set to 0 | |
2022-03-26 08:14:43.363 31928-31928 I/od.BugsnagUnit: Late-enabling -Xcheck:jni | |
2022-03-26 08:14:43.379 31928-31928 I/od.BugsnagUnit: Unquickening 20 vdex files! | |
2022-03-26 08:14:43.425 31928-31928 D/ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar | |
2022-03-26 08:14:43.453 31928-31928 I/Perf: Connecting to perf service. | |
2022-03-26 08:14:43.463 31928-31928 D/NetworkSecurityConfig: No Network Security Config specified, using platform default | |
2022-03-26 08:14:43.464 31928-31928 D/NetworkSecurityConfig: No Network Security Config specified, using platform default | |
2022-03-26 08:14:43.522 31928-31928 D/Unity: CommandLine: | |
2022-03-26 08:14:43.542 31928-31928 I/Unity: onResume |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Runtime.InteropServices; | |
// Put this C# file anywhere in Assets/ | |
public static class HelloPlugin { | |
/// Call into swift | |
#if UNITY_IOS && !UNITY_EDITOR | |
[DllImport("__Internal", EntryPoint = "LIBHelloWorld")] | |
public static extern void HelloWorld(); | |
#else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AIDA64 for Android v1.78 Report | |
<<< System >>> | |
Device Model: Samsung Galaxy S8+ (Global) | |
Device Codename: Dream 2 | |
Device Type: Phablet | |
Manufacturer: samsung | |
Model: SM-G955F | |
Brand: samsung |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function preloadVideo(video) { | |
// just before video would play, pause it | |
video.addEventListener('canplay', preloadingVideoCanPlay, {once: true}); | |
// begin preloading the playlist and first hls segment (useful for VODs) | |
video.play(); | |
} | |
function preloadingVideoCanPlay() { | |
// video has buffered enough for playback | |
video.pause(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// unity 2019.3 | |
#import <UIKit/UIKit.h> | |
#import "UnityAppController.h" | |
#import <Commons/Commons-Swift.h> | |
#import "UnityInterface.h" | |
@interface MainAppController : UnityAppController<UIApplicationDelegate> | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mWebView.setWebViewClient(new WebViewClient() { | |
@Override | |
public WebResourceResponse shouldInterceptRequest(WebView view, String url) { | |
if (url.contains("creditcard_cvc.jpg")) { | |
Log.v("WebView", "Replacing [" + url + "] with [R.raw.tmp_replacement]"); | |
ContentResolver contentResolver = getActivity().getContentResolver(); | |
return new WebResourceResponse(contentResolver.getType(Uri.parse(url)), "UTF-8", getResources().openRawResource(R.raw.tmp_replacement)); | |
} | |
return super.shouldInterceptRequest(view, url); |
NewerOlder