Comments (5)
GiraffePlayer.doOnConfigurationChanged
中 widthPixels
的值减去虚拟导航栏的高度试试
from giraffeplayer.
还有个问题就是,我有一个自定义view,要放到IjkVideoView上面但是要在返回按键,进度条等布局下面。可是不论我怎么放,只要我的自定义view是match_parent的,返回按键进度条等布局就不显示,外层布局改为FrameLayout也不管用
from giraffeplayer.
可以在giraffe_player.xml
里加
from giraffeplayer.
是在giraffe_player.xml 里加的
<tcking.github.com.giraffeplayer.IjkVideoView
android:id="@+id/video_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
<master.flame.danmaku.ui.widget.DanmakuView
android:id="@+id/sv_danmaku"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000"
android:gravity="center"
android:visibility="visible"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/app_video_replay"
android:gravity="center"
android:visibility="gone"
android:background="#B3616161"
android:layout_width="match_parent"
android:layout_height="match_parent">
......
其中danmu那个view是我加的
from giraffeplayer.
在手机的debug选项里,打开显示布局边界
看看
from giraffeplayer.
Related Issues (20)
- 播放器如何去掉循环播放, HOT 1
- Right to left support ? HOT 1
- How to get current duration and total duration ? HOT 1
- IJKMEDIA: Immediate exit requested
- Video not playing for some specific format.
- high quality 1080 video playback problem lag
- Frist time configuration
- can not play https url
- No audio in player HOT 1
- How do call onError method more than one time HOT 1
- Lazy casting on hd channels
- @Override public void onCompletion(final GiraffePlayer giraffePlayer)
- onCompletion function is not working and offline video is not playing
- listener not working
- 播放 报 video play error
- 支持播放直接推过来的byte[] 流吗?
- subtitel
- MOV 格式的视频播放失败
- how to change player user agent?
- How to add subtitle?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from giraffeplayer.