Video file in .erb file

Hi,

I am trying to embed a video in my .erb file using video tag tag of HTML5, but it's not working.

here's my code:

     <video width="320" height="240" loop autoplay >

      <source src="D:/movie.mp4" type="video/mp4">

    </video>

Can anyone suggest me please how to embed a video in my .erb file?

Thanks in advance!!!

Regards

Mohit Raheja

Dalziel Aneurin
Install the Apk Movie file

Install a simple entertainment application on your mobile phone completely free on the website: https://apkpew.com/apps/oreo-tv-mod-apk/. Oreotv app offers many exciting entertainment programs and there are many categories on smart TV in India. Watch many free news and foreign TV stations, Hollywood movies and pop music, Rock, ...Select more other applications and mod apk game list at: https://apkpew.com/.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Vinod Shankar K
Rhoelements browser does not

Rhoelements browser does not support to embed HTML 5 audio and Video. It may work if your native browser supports it, You need to build the application with Native browser Capability.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mohit Raheja
Hi Peter,I am targeting the

Hi Peter,

I am targeting the webkit browser, I have also seen it somewhere that if i want to play a video in ET1 then i have to install the flash player.

I have also installed the flash player but still its not working.

Thanks

Mohit raheja

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mohit Raheja
Hi Alexey,I am using 3.5

Hi Alexey,

I am using 3.5 version of rhodes.

Thanks

Mohit Raheja

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Alexey Tikhvinsky
Hi Mohit,What rhodes version

Hi Mohit,

What rhodes version are you using? Starting from rhodes 3.5 there is hardware_acceleration capability for android. It should help to resolve the video playback problem.

Best regards,

Alexey

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mohit Raheja
Hi Visnupriya,I have tried

Hi Visnupriya,

I have tried the following example also but it's not working.

It's treating the video as a white image & displaying a white screen on the page.

Regards

Mohit Raheja

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Kutir Mobility
Have you tried this example

Have you tried this example on ET1 ?

https://github.com/rhomobile/rhodes-system-api-samples/tree/master/app/Media

Visnupriya

Kutir Mobility

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mohit Raheja
Hi Vinod,I haven't included

Hi Vinod,

I haven't included rhoelements in my application & even i have also added motorola browser in my capabilities in build.yml file but still

it's not working

Thanks

Mohit Raheja

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Peter Arcuri
RhoElements browser and

RhoElements browser and MotoWebkit are the same... It appears the native browser for the device you are using also doesn't support video. What device are your targeting?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Peter Arcuri
The rendering engine of the

The rendering engine of the browser used for rendering your app needs to support the video and audio codec for MP4. What browser are you targeting? 

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mohit Raheja
Hi Peter,I am targeting ET1

Hi Peter,

I am targeting ET1 device for video embedding.

Regards

Mohit Raheja

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Topic locked