Hello,
Is there any documentation or tutorial on creating advanced capcitor plugins.
For example: GitHub - capacitor-community/camera-preview: Capacitor plugin that allows camera interaction from HTML code
Case 1
Most exciting part of camera-preview plugin is that it streams native camera to ionic.
Therefore I can create my ui in html and just point to html element where camera-preview can stream camera.
Case 2
Another exmaple I want to create inline vidoe player using underlaying native platform libraries
- for iOS → AVKit
- for Android → ExoPlayer
P.S: I need to play h265 videos.
- Safari can play h265 videos
- Chrome can not play h265 video yet "h265" | Can I use... Support tables for HTML5, CSS3, etc
Therefore using<video/>
tag will not work in my case.
Question
Is there any tutorial or documentation that shows:
- How to build capacitor plugin that can host native elements to ionic view?
- How we stream native view to ionic (iOS, Android)?
So far I found these reserouces for creating capcitors pluings
1 post - 1 participant