mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
fix bug when video is download from server (#1661)
This commit is contained in:
@@ -197,7 +197,7 @@ public class Cocos2dxVideoView extends SurfaceView implements MediaPlayerControl
|
||||
|
||||
private boolean mIsAssetRouse = false;
|
||||
private String mVideoFilePath = null;
|
||||
private static final String AssetResourceRoot = "assets/";
|
||||
private static final String AssetResourceRoot = "@assets/";
|
||||
|
||||
public void setVideoFileName(String path) {
|
||||
if (path.startsWith(AssetResourceRoot)) {
|
||||
|
||||
Reference in New Issue
Block a user