android-videoview Questions

7

Solved

I have a RelativeLayout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_grav...
Cormick asked 17/10, 2013 at 14:41

8

Solved

I found a similar questions but nothing work for me. I try play video from this url: http://videocdn.bodybuilding.com/video/mp4/62000/62792m.mp4 My java code: VideoView videoView= (VideoView)fi...
Jammie asked 4/11, 2016 at 23:46

18

I am developing a VideoPlayer. I convert the URI of a launched intent to a string and it gives me content://media/external...... But I need to get the real path. For example: /storage/extSdcard......
Geibel asked 9/7, 2013 at 10:39

4

Solved

I have a VideoView that is inside a scrollView. When I scroll the scrollView, the VideoView does not scroll with it. It is like its position is fixed. How can I scroll the VideoView correctly with ...
For asked 30/11, 2010 at 10:21

8

I have a video file and I want to get width and height of video. I don't want to play it, just to get size. I've tried to use MediaPlayer: MediaPlayer mp = new MediaPlayer(); mp.setDataSource(uriS...
Asparagus asked 31/1, 2012 at 9:52

3

Solved

So I'm trying to do my homework, but the teacher's given me 0 information about this. There is an example of how to play a video from a file in the res/raw folder, but there's nothing about online ...
Lumisterol asked 23/1, 2020 at 16:10

8

Solved

Can we place a small view over another large view? For example, I have a VideoView which is playing a file in the background. Over this, somewhere in the middle/corner, I want to place another Imag...
Tattan asked 29/9, 2010 at 12:46

25

Solved

I have been looking for a way to get rid of the nasty black initial screen on a VideoView before the start() method is run. I have tried with background image on the widget but it doesn't work as e...
Braxy asked 19/3, 2012 at 5:53

6

Solved

I am making an application in which I have to show video from assets folder in a Fragment. Can anyone help me do this? Do I need to use VideoView in XML?
Olvera asked 6/7, 2012 at 5:55

4

Solved

In one screen I have a looping background video (upon which normal UI elements are shown), implemented with VideoView like this: String resPath = "android.resource://" + getPackageName() + "/" + ...
Skirret asked 26/3, 2015 at 13:50

4

I am trying to Seek to a particular location in a video in Android and I am completely stuck because of the inconsistencies it is showing in its behaviour. Here's a list of things I ve done Vi...
Promoter asked 17/10, 2012 at 16:42

13

I have a VideoView which is set up like this: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/player" android:orientation="vertical" android:lay...
Seiler asked 28/11, 2012 at 11:3

2

Solved

In my app there is a recycler-view having video-views, I want to auto-play the specific video view which is completely in focus when scrolled.
Autocephalous asked 13/11, 2015 at 4:32

13

Solved

On my button click I wrote the following code for playing video from my SDCARD (mp4). video_view = (VideoView)findViewById(R.id.video_view); video_view.setVideoPath("/sdcard/myvideo.mp4"); video_...
Cuesta asked 29/10, 2013 at 5:37

4

Solved

I am using VideoView for playing video,I would like to stop the playing video completely.Please help me on this for solving it.Thanks.
Laconic asked 12/3, 2012 at 6:1

5

App I'm developing contains many short (1-2 sec) videos. The videos are displayed in one activity. User can either replay video (possibly while video is beeing played) or change actual video. Pa...
Gravimetric asked 20/12, 2012 at 15:11

5

Solved

I am using a VideoView to play a video file kept in res/raw. I couldnt find a way to control the playback speed of the video. Basically i want to reduce and increase the playback while moving a scr...
Wareing asked 6/1, 2011 at 11:24

5

Solved

I am looking for something like the CENTER_CROP in ImageView.ScaleType Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will ...
Koch asked 26/10, 2013 at 1:45

4

In Android's VideoView, is there any way to achieve the same effect as ImageView.ScaleType.CENTER_CROP? That is, I want my VideoView to play the video such that it fills the entire screen without...
Off asked 31/7, 2012 at 8:45

3

I am using a VideoView in my app and when I set the background colour with either the layout properties, or in the code itself, the background colour is laid over the top of my video and I cannot s...
Redmer asked 14/3, 2014 at 10:42

8

Please help, How to play videos in android device from raw folder for offline mode? Successful example1: I can play the video from SDcard used the below code. Intent intent = new Intent(Intent...
Taverner asked 28/3, 2013 at 6:55

13

Solved

I have two different videos which I'm trying to load into a VideoView using videoView.setVideoURI(Uri.parse(url)); The two videos, let them be video 1 and video 2, have the following specs (ext...
Traditor asked 18/7, 2012 at 11:17

4

Solved

I am using VideoView & running videos from resources. I want to know, is there any way by which I can perform zoom in/out functionality on running video?
Wirra asked 9/12, 2013 at 10:26

6

I want to stream rtsp video using exoplayer. I am using ExoMedia library which is an An Android ExoPlayer wrapper. I have search on stackoverflow but I didn't find any good answer. After some googl...
Bossism asked 27/9, 2016 at 6:48

4

Solved

I want some help in creating thumbnail of a video being recorded from my android phone and I got this code from this Link, and I modified this part of the code to generate the thumbnail but somehow...
Heteropterous asked 20/6, 2018 at 5:45

© 2022 - 2024 — McMap. All rights reserved.