กำลังแสดงผล 1 ถึง 4 จากทั้งหมด 4

หัวข้อ: Skins for Media Player

  1. #1
    ท่องเวบ สัญลักษณ์ของ pui.lab
    วันที่สมัคร
    Jul 2006
    ที่อยู่
    โสดไม่มีใครเอา หรือว่าเราไม่เอาใคร
    กระทู้
    8,954
    บล็อก
    9

    Skins for Media Player

    เห็นหน้าตามันจ๊าบบบบดี มีเดียหน้าเก่าเบื่อแร่ะ :)

    คลิกคำว่า Download รอบ่นาน
    บ้านมหาดอทคอม เว็บไซต์ส่งเสริม ศิลปะ วัฒนธรรมไทย ศิลปิน ความรู้ออนไลน์
    st1: มิตรภาพและรอยยิ้ม กับดีเจคนไกลบ้าน st1:

  2. #2
    ศึกษาหาความรู้ สัญลักษณ์ของ pakinaim
    วันที่สมัคร
    Nov 2007
    ที่อยู่
    Price of Songkla University
    กระทู้
    80
    กระทู้ต้นฉบับโดยคุณ pui.lab
    เห็นหน้าตามันจ๊าบบบบดี มีเดียหน้าเก่าเบื่อแร่ะ :)

    คลิกคำว่า Download รอบ่นาน
    แมนี่ แทค์ง เด้อคับบ

  3. #3
    ท่องเวบ สัญลักษณ์ของ pui.lab
    วันที่สมัคร
    Jul 2006
    ที่อยู่
    โสดไม่มีใครเอา หรือว่าเราไม่เอาใคร
    กระทู้
    8,954
    บล็อก
    9
    Adding a Playlist
    You can use playlists to choose from collections of your audio and video.

    Using the artwork from your first skin, you can make a few changes to the skin definition file.

    The first step is to use the shell you will use for most skins:





    โค้ด PHP:
    <THEME>
        <
    VIEW
            clippingColor 
    "#CCCC00"
            
    backgroundImage "background.bmp"
            
    titleBar "false">

            <
    BUTTONGROUP
                mappingImage 
    "map.bmp"
                
    hoverImage "hover.bmp"
                    
        </
    VIEW>


    </
    THEME>
    Now add a second VIEWwhich contains a playlistPlace the following code after the </VIEWof the shell code.

         <
    VIEW 
              id 
    "playview">
              <
    PLAYLIST/>
         </
    VIEW>
    You will need to give this second view an ID so you can refer to it laterAdd a PLAYELEMENT and a STOPELEMENTThese predefined buttons make life easier.

            <
    PLAYELEMENT
                mappingColor 
    "#00FF00" />
                              
            <
    STOPELEMENT
                mappingColor 
    "#FF0000" />
    Finally, 
    add an onClick event to the PLAYELEMENT to display a playlist in the second view:

                
    onClick "JScript: theme.openView('playview');" />
    You can see a similar working playlist skin in the sample section of the SDK
    บ้านมหาดอทคอม เว็บไซต์ส่งเสริม ศิลปะ วัฒนธรรมไทย ศิลปิน ความรู้ออนไลน์
    st1: มิตรภาพและรอยยิ้ม กับดีเจคนไกลบ้าน st1:

  4. #4
    ท่องเวบ สัญลักษณ์ของ pui.lab
    วันที่สมัคร
    Jul 2006
    ที่อยู่
    โสดไม่มีใครเอา หรือว่าเราไม่เอาใคร
    กระทู้
    8,954
    บล็อก
    9
    Choosing Files
    If you want to choose a file, you can use code similar to the Playlist example, but substitute the following for the PLAYELEMENT section:

    โค้ด PHP:
    <PLAYELEMENT
      mappingColor 
    "#00FF00"
      
    onClick "JScript:player.URL=theme.openDialog('FILE_OPEN','FILES_ALL');"
      
    /> 
    This line will use the openDialog method of THEME to define a URL for the player. You can use this to choose files that are not in playlists.

    You can see a similar working openDialog example in the sample section of the SDK.
    บ้านมหาดอทคอม เว็บไซต์ส่งเสริม ศิลปะ วัฒนธรรมไทย ศิลปิน ความรู้ออนไลน์
    st1: มิตรภาพและรอยยิ้ม กับดีเจคนไกลบ้าน st1:

Tags for this Thread

กฎการส่งข้อความ

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •