service_set_operation(serviceHandle, SERVICE_OPERATION_VIEW);
service_set_mime(serviceHandle, mimeType.c_str());
service_set_uri(serviceHandle, uri.c_str());
- } else if (!strcasecmp(mimeType.c_str(), "video/mp4") ||
- !strcasecmp(mimeType.c_str(), "vidoe/3gp"))
- {
- CONTROLLER_POST_EVENT(
- ApplicationLauncher,
- ApplicationLauncherEvents::LaunchApplicationByPkgname(
- ApplicationLauncherPkgname::PKG_NAME_VIDEO_PLAYER,
- SCHEME_TYPE_HTML5_VIDEO,
- uri,
- "null"));
} else {
LogInfo("Not Supported MIME type in WRT");
service_destroy(serviceHandle);