Hello Hive Community Members,
With this post, let me give you updates on the app development.
YouTube Player Integration.
- Many of hive members, while adding post, they tend to leave a youtube link within the post.
- As a developer, we must detect such youtube links & it should load YouTube Player
- I have taken care of it.
How did I do that?
- Step 1. Using RegExp, replace youtube link with a custom youtube tag.
- Step 2. Detect custom-youtube-tag & render a custom widget.
- Step 3. In widget, show youtube player.
Which Library did I use?
- I used
- It works for iOS, Android & web.
how does it look? Screenshot please
- here is the screenshot when a youtube video is detected.
- here is the screenshot when video is playing
Can I try now?
- Yes you can.
- I have tested it on following test post
- open https://the-hive-mobile.app
- and navigate to /#/@vachemorte/original-funkjazzelectro-condensity
- I am also experimenting on Dark & Light mode.
- As soon as it is ready, I'll publish the chanes & push it on the web-app.
- Further experiments on markdown
- Show more details on post page apart from post-body
Where do I try out above UI?
- Just open this url - https://the-hive-mobile.app/
- Try it on mobile brower
- Review Recent changes - https://gitlab.com/sag333ar/the-hive-mobile.app/-/commit/c4cf198fdb38ed0d9bade090ced9263cbef5e30d
- Explore Repo - https://gitlab.com/sag333ar/the-hive-mobile.app
Want to know more?
- Read my announcement
Lots of ❤️ Love for Hive
- This is open source contribution
- It's all contribution for the hive Community
- Wish me luck
Who am I?
Support Me Back 🙏
- Vote me as your hive witness - https://hivesigner.com/sign/account-witness-vote?witness=sagarkothari88&approve=1
- Vote me as Hive Witness
- Upvote my content
- Follow my channel
- Download Android App
- Join 3Speak Discord
- Download iOS App
- Setup Encoder Node
- Vote for 3Speak Proposal
Have a good one