Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6699477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:41:59+00:00 2026-05-26T06:41:59+00:00

My code is as below. Html Portion <div id=div_video> <div class=div_vol> <a href=# onclick=sound_adjustment()><img

  • 0

My code is as below.

Html Portion

    <div id="div_video">
        <div class="div_vol">
        <a href="#" onclick="sound_adjustment()"><img id="sound_img" src="<?=bloginfo( 'template_url' )?>/images/muted.png"></a>
        </div>                              
        <img style="margin-left: 100px; margin-top: 40px" id="loading_vidio" src="<?php bloginfo( 'template_url' )?>/images/video_loading.gif"/>
            <video height="341" width="620" poster="<?php bloginfo( 'template_url' )?>/images/video.png" id="banner_advideo">
            <source type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' src="<?php bloginfo( 'template_url' )?>/video/<?php echo $videoname?>" />
            </video>
            <div class="videoPunch"><h2>Making froth at a touch of a button couldn't be easier.</h2></div>
        </div>

Javascript Portion

     var me=new MediaElement('banner_advideo', {
         // shows debug errors on screen
         enablePluginDebug: false,
         // remove or reorder to change plugin priority
         plugins: ['flash'],
         // specify to force MediaElement to use a particular video or audio type

         features: ['playpause','progress','current','duration','tracks','volume','fullscreen'],                    
         success: function (mediaElement, domObject) {

             // call the play method
             $('#loading_vidio').show();                     
             $('#div_video').show();                                     
             mediaElement.addEventListener('loadeddata', function(e) {                         
                $('#loading_vidio').hide();                            
               }, false);                    
             mediaElement.play();    
             mediaElement.setMuted(true);
         },
         // fires when a problem is detected
         error: function () {                  
         }
     });       

Now I the controls(Play pause buttons) are not showing in my video. I read the 2 similar questions and answers regarding this but i am not getting solution from that.

Can anybody tell me what could be the problem with this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:42:00+00:00Added an answer on May 26, 2026 at 6:42 am

    Controls are property of MediaElementPlayer object. so i made its object and so it is showing all the controls in a proper manner now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have below code in html. <li class=selected runat=server id=lihome><a href=/ISS/home.aspx title=Home><span>Home</span></a></li> Now I
The code is as below: <html> <head> <title>test</title> </head> <body> <div><span>shanghai</span><span class=margin> </span><span>male</span></div> </body>
Please see the form HTML code below <form method=post action=register> <div class=email> Email <input
my html code is like below : <div id=FormMessages> <div id=user-info-message class=error> <asp:Image ID=imgError1
I have below html code in my aspx. <input type=hidden id=medicalLink value='<a href=/forms/contactus.aspx >Contact
I have below HTML code <table class=innerGridTable cellpadding=0 cellspacing=0 width=100%> <tr id=trMain> <td> <asp:Button
I have below html code <div id=divTest> Hello <input type=text id=txtID value= /> <input
I have below code in html <div id=divTest> Hello <input type=text id=txtID/> <input type=text
I have a portion of HTML code in R like the one below: </a>
please check the HTML code below. The 3rd DIV is partially visible because it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.