Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

How to use (AVPro) plugin with JavaScript.

$
0
0
I can't seem to figure out how to use the plugin with JS. I want to get the playbacktime of the video. [http://downloads.renderheads.com/docs/AVProVideoClassReference-1.1.0/interface_render_heads_1_1_media_1_1_a_v_pro_video_1_1_i_media_control.html] [1] tells me to use this function: `float RenderHeads.Media.AVProVideo.IMediaControl.GetCurrentTimeMs()` There are a bunch of c# examples but nothing for JS. I thought I could just import and access like other functions but that doesn't work the way I expected. import RenderHeads.Media.AVProVideo; returns: BCE0021: Namespace 'RenderHeads.Media.AVProVideo' not found, maybe you forgot to add an assembly reference? I did find something here: http://docs.unity3d.com/Manual/NativePlugins.html @DllImport (AVProVideo) this returns the following error: BCE0064: No attribute with the name 'DllImport' or 'DllImportAttribute' was found (attribute names are case insensitive). Did you mean 'System.Runtime.InteropServices.DllImportAttribute'? How should I do this? [1]: http://downloads.renderheads.com/docs/AVProVideoClassReference-1.1.0/interface_render_heads_1_1_media_1_1_a_v_pro_video_1_1_i_media_control.html

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>