Jump to content

Recommended Posts

i am just trying to align a video to center with <embed> tag like that <embed align="center"> but its not working . I want to know the reason? (i am using google chrome)

Please help me.

 

 

I am just trying to repeat a audio 3 times and set it like that :

<embed src="myaudio.mp4" width="100%" height="200" autostart="true" loop="3">

but it is not working for me.

Link to post
Share on other sites

You should use the <video> element, not embed.

 

To center it, use CSS. Since the video is an inline element, you can center it using the text-align property of the parent element.

Link to post
Share on other sites
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...