I am trying to use the video ads in tight time frames so I need to know the length of the video before it is to be displayed. Is there a way to get the length of the video ad before it is displayed?
Video Ad's length is generally 30 seconds or less. Check the blog link for reasoning. https://www.adcolony.com/blog/2014/04/24/713-2/
Currently there is no API available to get this information. Can you please provide us a usecase on support#adcolony.com ?
Related
I'm creating an app which will display YouTube video. I want to get the length of that video. For example: When the user watches YouTube video for 30 seconds they will get 20 points. Is there any way to get the length. Thanks in advance.
Use YouTubePlayer.getDurationMillis() to obtain the video duration in milliseconds.
How to get video ads using admob in Android? When I tried everything seems to be working fine however I am getting a full screen image not a video.
You don't have control over what type of content is sent for an interstitial. It is up to the ad network. I suspect you are unlikely to receive video ads unless you have a very high number of requests.
I need a web based video player that provides "time duration for which a user played a video" and "instance at which the video stopped playing".
It would be great if it can provide details like the time at which the video was started (if he has skipped to a certain location when the video has started) and the stop time of the video.
Could anyone please suggest a ready made player available in market which provides all these information OR some alternate approach to achieve the same.
I want to achieve the same for iOS and Android devices. Is this something possible? And if yes please help me on its feasibility with Phonegap?
Thanks in advance
You won't need a speical player for this. The mediaelements audio and video already have a property called played.
I have a module in my application which displays the start time and the end time of the video.
I have create a videoview and these times are shown on the video view. This is working very well.
Now, Is it possible that when I run this video on a laptop/desktop, it shows me the start time and the end time along with the video? Is it possible through any jar file or something.
This is something that I want to know for my knowledge. Is it possible?
This is exactly the link you are looking for:
Get the progress time of the video played under videoview?
It tells you how to display time on the video progress bar.
I have an app that shows a dancing toy in a VideoView at full screen. Sometimes another video executes over the video of the toy, in this case i have problems with the view because the video of the top shows transparent.
If i set vid1.stopPlayback(); before call the second video, it works, but i cant reproduce the first.
Is there some way to play both videos at same time?
I am not fully certain, but I got a feeling I've read simultaneous video playback may not be possible due to the way it is rendered on the screen. I can't find where I read about this, but you may try searching that way though.