버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.
Sv translation
languageko

Sample LFD 를 다운로드 후 Web Author의 Open Local File 기능을 이용하여 Web Author에 Import 하면 Web Author의 Preview 기능 및 W Player에 배포를 통해 W Player API의 주요 동작 기능을 배울 수 있습니다. 자세한 내용은 다음을 참고하세요. ▶ 콘텐츠 저장하기

정보
title다운로드 안내

Sample 파일을 다운로드 받으시려면, 여기를 클릭하세요.

Sample LFD 는 아래와 같이 2개의 Page로 이루어져 있습니다.

Default Page

광고와 같은 기본 컨텐츠를 재생하다가 사용자가 화면을 touch 할 경우, 정보제공 등의 다른 컨텐츠를 포함하는 페이지로 전환하여 재생한다.

구성

...

...

  • 화면에 재생될 배경 요소 (ex. 광고 동영상/이미지)

...

  • 다른 페이지로 전환하기 위한 touch 이벤트를 받을 요소

...

  • Player의 정보를 보여줄 버튼 및 텍스트 요소

...

  • Web Content

기능

...

...

  • 페이지 전환을 위한 요소로부터 touch 이벤트를 수신하여 페이지를 전환시킨다.

...

  • Player정보를 보여주기 위한 요소로부터 touch 이벤트를 수신하여 Player(device)의 ip address, mac address, version 등 정보를 보여준다.

...

  • 리모컨의 keydown 이벤트 수신, udp메시지 수신을 통하여 페이지 전환 등의 기능을 동작한다.

Web Author 설정

...

...

  1. User Data 설정: 다른 페이지로 전환하기 위하여 touch 이벤트를 수신할 요소의 이름을

...

  1. ‘clickElementName’(key)의 value에 저장하여 전달한다.

    또는, 전환할 다른 페이지의 이름을 'movePageName(key)'의 value에 저장하여 전달한다.

    Stylesheet
    classscreen

    Image Modified

...

  1. External Data 설정: UDP Listener를 활성화 시켜서 webContent가 UDP메시지를 수신할 수 있도록 설정한다.

    Stylesheet
    classscreen

    Image Modified

MenuBoard Page

데이터링크(datalink)를 통하여 메뉴 보드를 구성하고, sold-out 등의 이벤트에 따른 동작을 메뉴 보드에 추가하여 재생합니다. 사용자의 동작이 일정시간 동안 없을 경우, 기본 페이지로 전환합니다.

구성

...

...

WebContent

기능

...

...

  • 데이터링크(datalink)로부터 데이터를 받아서 메뉴 보드를 구성한다.

...

  • 메뉴 보드 중 sold-out 상품일 경우, 적절한 효과를 적용한다.

...

  • 일정시간 동안 사용자의 동작이 없을 경우, 기본 컨텐츠가 재생되는 페이지로 전환시킨다.

Web Author 설정

...

...

  1. User Data 설정: 사용자가 일정시간 동안 사용하지 않을 경우 다른 페이지로 전환하는데, 사용자의 사용 여부를 확인하는 일정 시간을 ‘timeout’(key)의 value에 저장하여 전달한다.

    기본 컨텐츠가 포함된 페이지의 이름을 ‘defaultPageName’(key)의 value에 저장하여 전달한다.

    Stylesheet
    classscreen

    Image Modified

...

  1. External Data 설정: UDP Listener를 활성화 시켜서 webContent가 UDP메시지를 수신할 수 있도록 설정한다.

    Stylesheet
    classscreen

    Image Modified

  2. DataLink Listener를 활성화 시키고 DataLink Table을 통하여 WebContent에 전달할 데이터를 설정한다.

    Stylesheet
    classscreen

    Image Modified

Sv translation
languageen

Download a sample LFD file and then use the Open Local File function in Web Author to import the file to Web Author. Now you can learn the key action functions of W Player API by using the Preview function in Web Author and publishing the file to W Player. Refer to the following for details. ▶ Saving content

정보
titleAbout downloading

To download a sample file, click PageTransitionAndMenuBoard.zip.

A sample LFD file consists of two pages as shown below.

Default Page

If the user touches the screen during playback of default content such as an ad, a page transition takes place to play a page that contains other content such as information.

Configuration

  • Background elements that will be played on the screen (e.g., advertising video/images)

  • Element that will receive a touch event for transition to a different page

  • Button and text elements that will show player information

  • Web Content

Functions

  • Performs a page transition by receiving a touch event from the event that will perform page transition.

  • Shows the IP address, MAC address, version, and other information of the player (device) by receiving a touch event from the element that will show the layer information.

  • Performs page transition and other functions by receiving a remote control keydown event and/or UDP message.

Web Author settings

  1. User Data settings: To switch to a different page, send the name of the element that will receive a touch event by saving the name in the Value field for "clickElementName" (key).

    Alternatively, send the name of the page to switch to by saving the name in the Value field for "movePageName" (key).

    Stylesheet
    classscreen

    Image Added

  2. External Data settings: Activate UDP Listener to allow webContent to receive UDP messages.

    Stylesheet
    classscreen

    Image Added

MenuBoard Page

Configures the menu board through datalink, and adds actions corresponding to events such as the sold-out event to the menu board and plays the actions. Switches to the default page if there is no user input for a specified period of time.

Configuration

WebContent

Functions

  • Configures the menu board by receiving data from datalink.

  • Applies the appropriate effect to a sold-out product on the menu board.

  • Switches to the page that plays default content if there is no user input for a specified period of time.

Web Author settings

  1. User Data settings: Send the user input idle time period after which the screen will switch to a different page by saving the time period in the Value field for "timeout" (key).

    Send the name of the page that contains default content by saving the name in the Value field for "defaultPageName" (key).

    Stylesheet
    classscreen

    Image Added

  2. External Data settings: Activate UDP Listener to allow webContent to receive UDP messages.

    Stylesheet
    classscreen

    Image Added

  3. Activate DataLink Listener, and use the DataLink Table to set the data that will be sent to WebContent.

    Stylesheet
    classscreen

    Image Added