我正在尝试编写一个应用程序,其中有几个我需要播放的视频 URL。我正在使用 ExoPlayer 播放视频。
ExoPlayer is playing the videos but the problem i am facing is, ExoPlayer is loading some part of video (let's say 5 seconds) and then playing them and once exo player is done playing that part, it is trying to load next part of video and then playing that part of video. This problem is occurring even when the internet speed is good.
I tried reading ExoPlayer docs and other stackoverflow posts but i am not …
var str2 : String = "Expander Detected (%MSG_ID%)";
var r2 = ~/[\(%MSG_ID%\)]+/g;
trace(r2.replace(str2, ""));
Run Code Online (Sandbox Code Playgroud)
预期结果: Expander Detected
实际结果: Expander etected
我需要替换(%MSG_ID%)我的字符串.之前(%MSG_ID%)的字符是动态的,因此我们无法手动替换它们.