Jump to content

gunawanh4d1

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by gunawanh4d1

  1. On 2/22/2023 at 1:42 PM, Ario.Paxaz said:

    Hi,

     

    thanks for your replay, But I had found this from DFM file and done it.

     

    <audio id="player" height="0px" src="files/beep-digital.mp3" style="display:none"></audio>
    <div>
      <video id="video" width="100%" height="100%" style="border: 1px solid gray"></video>
    </div>
    
    <div id="sourceSelectPanel" style="display:none">
      <label for="sourceSelect">Change video source:</label>
      <select id="sourceSelect" style="max-width:400px">
      </select>
    </div>

     

    StringHtml.jpg

    Hi all, I copied this into my program. and it succeed if I run it on my PC/laptop with windows os. but It failed if I run it on HP or tablet with android system.  

    When I run on android,actually the device (video source) has successfully appeared in the combobox. So we can select from the front camera or back camera. But what doesn't appear is in the unihtmlframe (video) section.

    Anyone have the same problem with me ? please share if anyone have a solution. is there something I missed ?

    thanks before. 

     

  2. If I have a unihtmlframe and then I put this on property Html of uniHtmlFrame

    <div class="grid-container">
       <div class="grid-x grid-padding-x">
       
       <div class="large-2 medium-3 small-6 columns ">   
       <center>
       <img style="width:100%; margin-top:10px" src="https://picsum.photos/id/1/145/145">
       </center>   
       </div>

       <div class="large-2 medium-3 small-6 columns ">   
       <center>
       <img style="width:100%; margin-top:10px" src="https://picsum.photos/id/2/145/145">
       </center>   
       </div>

       <div class="large-2 medium-3 small-6 columns end">   
       <center>
       <img style="width:100%; margin-top:10px" src="https://picsum.photos/id/3/145/145">
       </center>   
       </div>
       
       </div>
    </div>    

    and I use this and put into CustomFile at Servermodule
      
      foundation.css
      foundation.min.js

    at the onAjaxEvent, I put this simple 

      showmessage(EventName);

    I need to click/dblclick on each of images. And it should be connected to OnAjaxEvent and return the something (number of eah image or name of each image file).
    the source of src will be changed to Files, but on this project, I take from the internet

    Already try this, I put onclick on Html tag "Img"
      
       <img style="width:100%; margin-top:10px" src="https://picsum.photos/id/1/145/145" onclick="ajaxRequest(Mainform.UniHTMLFrame1, 'MyEvent1', [])">

    no error but still not connected to event onAjaxEvent
    can anyone help me. Where is the mistake ?

    Thanks for anyone help

×
×
  • Create New...