Web Browser

From PS3 Developer wiki
Revision as of 15:16, 27 July 2016 by 78.129.130.12 (talk) (Added details about plugins used to launch browser with XML Link & without)
Jump to navigation Jump to search

Description

Managed with plugins: webbrowser_plugin.sprx, webbrowser_service.sprx, webrender_plugin.sprx, wboard_plugin.sprx

And more plugins: silk.sprx, silk_base.sprx, silk_mrcommon.sprx, silk_mrserver.sprx, silk_nas.sprx, silk_npflashplayer9.sprx, silk_npflashplayer.sprx, silk_webkit.sprx, silk_wk.sprx

There are 3 versions of the web browser, from older to newer loaded from dev_flash/vsh/resource/silk, dev_flash/vsh/resource/silk_nas, and dev_flash/vsh/resource/silk_webkit

  • Shockwave Flash 9.0 r159
  • Actionscript2 + 3

The browsers are derivated from open source code. See Licensing and Online Connections

When started from the XMB Internet browser shortcut in the Network column, the browser system plugin launched is webrender_plugin.sprx. When started from XML Link , the plugin used to start Silk is webbrowser_plugin.sprx. Curiously the list of associated plugins loaded at the same time as the browser varies with webbrowser & webrender even though in practice there doesn't seem to be any major difference between the 2.


Web Content Guidelines

Versions

Web Browser Core Engine Notes/Speculation

  • Silk (doesnt supports Java script), used in:
    • LINK.XML
    • In-game Web browser in PS3 Games. After closing browser it can return to the same point in the game
  • WebKit (supports Java script), used in:
    • Internet Search, or XMB options on Game column when a game is unlighted (using parameter TITLE) ?
    • "what's news" (message: "You are launching an internet website")
  • Both, used in:
    • Online Instruction Manuals and Internet Browser
Webbrowser engine selector

Silk

Silk nas

Silk webkit

Languages

Template:XMB languages

  • Notes:
    • Firmware 2.70: Polish, Greek, Czech, Slovak, and Turkish added to Web Browser

Interfacing with webbrowser

From plugins

From LINK.XML

Code Sample
  • <link ver>
    • Other version values doesnt seems to have any effect
  • <url>
    • Malformed or missing url starts the browser with an about: blank page

Used in PARAM.SFO category WT (and all BOOTABLE content installed in HDD ?) to create a XMB link with a url that will be launched using the Silk core (silk.sprx?) of the Web Browser (webbrowser_plugin.sprx?)

The file LINK.XML is placed in the same path than the PARAM.SFO next to it at dev_hdd0/game/<TITLE_ID>/. There is no USRDIR folder and there is no EBOOT.BIN but the PARAM.SFO needs to be marked as "BOOTABLE" (it boots the web browser using the url as parameter)

It seems is not posible to create a folder containing 2 bootable items (EBOOT.BIN, and LINK.XML)...when trying to boot it the XMB displays the error message: this service has ended

Etc...

MIMEtypes

http://en.wikipedia.org/wiki/Internet_media_type

  • Examples
    • x-ps3-theme. See Themes
    • x-psp-theme
    • x-ps3-update
    • x-psp-update
    • octet-stream
    • vnd.sony.dstartup
    • x-sony-mgm
    • x-host/package widget directory theme-content. See XMB Host Functions
    • x-www-form-urlencoded (inside game_ext_plugin.sprx secure url for account/purchase management). Is an standard, not PS3 specific

Links