本文整理汇总了Java中com.hkm.ezwebview.Util.Fx9C.setup_web_video方法的典型用法代码示例。如果您正苦于以下问题:Java Fx9C.setup_web_video方法的具体用法?Java Fx9C.setup_web_video怎么用?Java Fx9C.setup_web_video使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.hkm.ezwebview.Util.Fx9C
的用法示例。
在下文中一共展示了Fx9C.setup_web_video方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setup_video
import com.hkm.ezwebview.Util.Fx9C; //导入方法依赖的package包/类
/**
* This is the example code
*/
private void setup_video() {
final String embeddedWebContent = In32.fromFileRaw(getActivity(), R.raw.video_sample);
try {
Fx9C.setup_web_video(this, framer, block, betterCircleBar, embeddedWebContent,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
}
});
} catch (Exception e) {
e.printStackTrace();
}
}
示例2: setupVideoBox
import com.hkm.ezwebview.Util.Fx9C; //导入方法依赖的package包/类
private void setupVideoBox(String code_embeded, int height) {
// final String contentc = fromFileRaw(getActivity(), R.raw.video_sample);
try {
Fx9C.setup_web_video(
this,
framer,
block,
betterCircleBar,
code_embeded,
height,
2000,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
// completeloading();
}
});
} catch (Exception e) {
Log.e("exceptionVideoFrame", e.getMessage());
}
}
示例3: setup_video
import com.hkm.ezwebview.Util.Fx9C; //导入方法依赖的package包/类
/**
* This is the example code
*/
private void setup_video(String uri) {
final String embeddedWebContent = In32.fromFileRaw(this, com.hkm.ezwebview.R.raw.template_youtube_video);
final String embeddedWebContent_complete = embeddedWebContent.replace("{video_youtube_id}", uri);
try {
Fx9C.setup_web_video(
this,
framer,
block,
betterCircleBar,
embeddedWebContent_complete,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
completeloading();
}
});
} catch (Exception e) {
e.printStackTrace();
}
}
示例4: setup_video
import com.hkm.ezwebview.Util.Fx9C; //导入方法依赖的package包/类
/**
* This is the example code
*/
private void setup_video() {
Bundle ef = getArguments();
String uri = ef.getString("uri");
final String embeddedWebContent = In32.fromFileRaw(getActivity(), R.raw.template_youtube_video);
final String embeddedWebContent_complete = embeddedWebContent.replace("{video_youtube_id}", uri);
try {
Fx9C.setup_web_video(
this,
framer,
block,
betterCircleBar,
embeddedWebContent_complete,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
completeloading();
}
});
} catch (Exception e) {
e.printStackTrace();
}
}