Content Preview
Starting from server version 1.9, Wallboard no longer allows content previews to be displayed in a browser for more than 15 minutes, or in offline mode unless the preview is running in signage mode.
Open content preview
From Content Overview
From content
You can also open the preview of the content by opening the context menu of the content then select Preview in browser.
Preview modes
Preview from start
- Your content will be displayed starting from the first page (the default page) of your content.
Preview from current
- Your content will be displayed starting from the current page (the one that you have opened up in the editor).
Preview from start, with sync
- Your content will be displayed starting from the first page (the default page) of your content, with synchronization.
Advanced preview mode
- In advanced preview mode you can add extra URL parameters to make the preview display more similar to the actual play on the device.
The following extras can be added:
- Content Sync
- Play Autosaved content
- Data row label
- Datasource
- Time zone
- Screen
URL Parameters
In the link of the preview you can set the following parameters:
To display the autosaved or saved version
`autoSaved=true/false`
To wait for content sync or not
`noSync=true`
Template
`isTemplate=false`
To be muted (default true)
`muted=true`
To watch with specific time zone
`timeZone=Europe~2FBudapest`
To display as it would play on device
`deviceId=01234567890123456789012345678901`
Previewing contents with custom scripts
By default functionalities like running custom scripts and calling APIs are disabled when previewing contents in your browser. This is a security rule that is applied to prevent intentional and unintentional harmful scripts from running in your browser.
You do not need to disable web security in browser in order to preview contents containing custom scripts, you can utilize browser's incognito mode to do so.
How to disable browser security feature temporarily while previewing a content
-
Open the preview of the content in your browser, and press
F12
on your keyboard. ThedevTools
window will open, and you can navigate over to theConsole
tab to view the error. -
The error will only show up in the console when the custom action happens, so interact with your content until you see the error message popup.
-
Once the error shows, right-click at the end of it on the
getContentId()
part, and selectstore as global variable
. -
Once you stored the script as a global variable you need to run it in the console. Type
temp1();
and hit enter on your keyboard. -
After running the script, you can refresh your browser window with
F5
on your keyboard or with the refresh button, and all the custom functionalities should work in your content. You only have to go through this process once for every content.
Autoplay policy
The Autoplay Policy launched in Chrome 66 for audio and video elements and is effectively blocking roughly half of unwanted media autoplays in Chrome
Chrome's autoplay policy
-
Muted autoplay is always allowed.
-
Autoplay with sound is allowed if:
- The user has interacted with the domain (click, tap, etc.).
- On desktop, the user's Media Engagement Index threshold has been crossed, meaning the user has previously played video with sound.
- The user has added the site to their home screen on mobile or installed the PWA on desktop.
- Top frames can delegate autoplay permission to their iframes to allow autoplay with sound.
-
Modern web browsers enforce this policy to prevent unwanted media from playing automatically, including videos with sound, without user intervention.
- This is to enhance the user experience and save bandwidth, particularly for mobile users.
- Therefore, previews in certain browsers may not play automatically.
To ensure that previews play in your local browser at any time please check your browser settings accordingly.
In Chrome versions 61-72
- Write
chrome://flags/#autoplay-policy
in your search bar - Find the
Autoplay policy
section - Select
No user gesture is required
Autoplay flag has been discontinued by Chrome since the 76 version
In Safari
- Click on the
Safari
button, and select thePreferences
menu - Choose the
Websites
panel, and find theAuto-Play
section - In the right bottom corner, you will see the
When visiting other websites:
option, choose theAllow All Auto-Play