버전 비교

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

...

Sv translation
languageko

setProperty()를 이용한 요소의 속성 변경이 반영되지 않습니다.

A:

  • 전달되는 error 정보를 통해 원인을 알 수 있습니다.

...

  • 유용한 기능

...

...

  • Web Author를 이용한 저작 시

...

  • 요소(Element) 이름은 페이지 내에서만 고유합니다. Ready 상태에서 setProperty를 사용한다면 정확한 페이지 내 요소가 선택되었는지 확인하세요.
    상태 이벤트시 전달된 pageId 값을 이용하면 현재 실행 중인 페이지 객체를 반환받을 수 있습니다. 주요 기능 ▶

...

  • $wp.content

  • 속성 중 name 입력값은 대소문자를 구별합니다.

...

웹 콘텐츠 내에 리모컨이나 키보드

...

입력이 전달되지 않습니다.

A:

웹 콘텐츠에서 키 입력을 사용할 창이나 문서에 포커스를 설정했는지 확인하세요.

Play 상태 단계에 포커스 코드를 추가할 것을 권장합니다.

정보
title참고

창과 문서의 포커스 설정 방법을 참고하세요.

https://www.w3schools.com/jsref/met_win_focus.asp

https://www.w3schools.com/jsref/met_html_focus.asp

여러 웹 콘텐츠에 포커스를 설정하면 나중에 Play 상태를 받은 웹 콘텐츠로 포커스가 이동해 원하는 동작과 다르게 실행될 수 있습니다. 포커스가 필요한 웹 콘텐츠만 설정하세요.

...

UDP 데이터가 전달되지 않습니다.

...

  • Web Author를 이용한

...

  • UDP 설정이 올바른지 확인하세요. ▶

...

  • W Player API 설정하기

  • Web Author에서 설정한 port 번호가 다른 프로세스에서 사용 중인지 확인하고 포트를 변경한 후 재시도하세요.

    정보
    title참고

    47475는 W Player 재생을 위한 port입니다. 해당 포트 사용을 금지하세요.

...

Datalink 테이블 데이터가 전달되지 않습니다.

...

  • Web Author를 이용한 Datalink 설정 및 Datalink Server 설정이 올바른지 확인하세요. ▶

...

...

W Player API를 이용해 웹 콘텐츠를 배포해 장시간 재생 시 재생 성능이 저하되거나 Player 재시작 등의 문제가 발생합니다.

...

배포한 웹 콘텐츠 내에 메모리 누수가 발생하지 않는지 확인하세요. W Player API를 사용한다면 메모리 누수 방지를 위해 Stop 상태에서 $wp = null;을 추가하세요.
(주요 기능 ▶ 상태 이벤트 전달받기 참고)

...

웹 콘텐츠 내 video 태그 이용 시 동영상이 정상적으로 재생 되지 않습니다.

...

  • 동영상 파일 경로를 확인하세요. 웹 콘텐츠에 추가한 asset은 getRootDirectory() API로 가져온 루트 디렉터리 하위에 저장됩니다.

...

...

  • W Player는 원활한 전환을 위해 Back Page layer와 Front Page layer에 총 2개의 페이지를 로드합니다. Back Page layer와 Front Page layer에 위치한 비디오 영역이 겹치는 경우, 정상적으로 재생되지 않으므로 서로 겹치지 않게 확인하세요.

...

  • W Player는 원활한 전환을 위해 Back Page layer와 Front Page layer에 총 2개의 페이지를 로드합니다. Back Page layer와 Front Page layer에 위치한 비디오 개수가 3을 초과하는 경우 정상적으로 재생되지 않으므로 비디오 개수를 3개 이하가 되도록 조정하세요. 만약, 저작 시 Web content 속성 중 sync timeline을 설정하면 Front page layer에서만 (play 단계) video를 load 함으로 재생 제약을 극복 할 수 있습니다. 단, play 단계에서 재생 시점에 깜박임이 발생 할 수 있습니다.

...

Sv translation
languageen

Changes made to element properties by using setProperty() will not be applied.

  • The cause can be found by viewing the error details received. Useful functions ▶ Finding the cause of a W Player API failure

  • When authoring from Web Author, the element names are only unique within the page. If setProperty is used while in Ready state, confirm that the element was selected from within the correct page.
    By using the pageId value that was sent during the state event, you can get the currently running page object returned. Useful functions ▶ $wp.content

  • Among the properties, the name field value is case sensitive.

Remote control or keyboard inputs cannot be sent into web content.

Confirm that a focus is set for the window or document that will use key inputs from the web content.

It is recommended to add a focus code to the Play state stage.

정보
titleNote

For more information, refer to the details on how to set a focus for a window and document.

https://www.w3schools.com/jsref/met_win_focus.asp

https://www.w3schools.com/jsref/met_html_focus.asp

If you set a focus for multiple web content items, the focus may move to the web content that received Play state, causing an action that does not match the intended action to run. Only set a focus for specific web content that needs a focus.

UDP data cannot be sent.

  • Confirm that the UDP settings configured using Web Author are correct. ▶ Configuring the W Player API settings

  • Confirm that the port number set from Web Author is not used in a different process. If it is used in a different process, change the port and try again.

    정보
    titleNote

    "47475" is the port for W Player playback. Ensure that this port is not used.

Datalink table data cannot be sent.

  • Confirm that the Datalink settings and Datalink Server settings configured using Web Author are correct. ▶ Configuring the W Player API settings

  • Confirm that communication is possible in the network environment for Datalink Server and W Player.

If web content is published using W Player API and played for an extended period of time, issues such as playback performance degradation or Player restart can occur.

Confirm that there is no memory leak in the published web content. To use W Player API, add "$wp = null;" while in Stop state to prevent a memory leak.
(For key functions, refer to the following: ▶ 상태 이벤트 전달받기)

Video is not played properly when using a video tag in web content.

  • Confirm that the video file path is correct. Assets added to web content are saved under the root directory imported through getRootDirectory() API.

  • Confirm that the video format is a format supported by the device on which the video is used. It can be confirmed from the following URL.

    https://developer.samsung.com/smarttv/develop/specifications/media-specifications.html

  • W Player loads two pages to the Back Page layer and Front Page layer, to ensure seamless transition. Confirm that the video fields located in the Back Page layer and Front Page layer do not overlap. If the fields overlap, playback will not work.

  • W Player loads two pages to the Back Page layer and Front Page layer, to ensure seamless transition. Adjust the number of video files located in the Back Page layer and Front Page layer to 3 or less. If the number exceeds 3, playback will not work. If you set the sync timeline option when authoring, which is one of the web content properties, video is only loaded at the Front Page layer (Play stage), allowing playback restrictions to be overridden. Note that flickering may occur during playback at the Play stage. ▶ Configuring the W Player API settings