Admira Docs
English
English
  • Welcome to Admira
  • BASIC KNOWLEDGE
    • Introduction
    • Online management portal
    • Quick videoguides
      • Upload content
      • Check screen status
      • Blocks
      • Templates
      • New user
    • Basic concepts
    • Content scheduling
  • Admira Player Installation
    • Windows 10
      • Installing the Admira Player
      • BIOS Setup
      • Windows operating system settings
      • Windows settings
      • Windows Firewall
      • Windows Update
      • Recommended external applications
        • Remote access
        • Scheduled shutdown
        • Unnecessary applications
    • Apple
      • MacOS
      • iOS
    • Linux
      • Debian / Raspberry Pi OS
      • Ubuntu
    • Philips
    • LG
      • LG WebOs 6
      • LG WebOs 4
      • LG WebOS 3
      • LG WebOS 2
    • Samsung
      • Samsung SSSP 4-6 (Tizen)
      • Samsung SSSP 2-3
    • Android
    • Chrome OS
  • CONTENTS
    • Content creation good practices
    • Compatible formats and technical requirements
    • Upload content
    • Content management
    • Deleted Content
    • Fastcontent
    • Smartcontent
    • HTML content
      • File structure
      • Good Practices
      • Admira API HTML5 content
      • File nomenclature
      • Basic HTML structure for template
      • URL contents
    • Interactive content
  • Production
    • Playlists
    • Playlist with criteria
    • Blocks
    • Categories
    • Criteria
    • Ratios
    • Templates
  • Deployment
    • Inventory
    • Schedules
    • Incidences
    • Multiplayer mode
    • Conditional assignment
  • Management
    • Administration
    • Live
    • Users
    • Connectivity
    • Stats
      • Stats by content
      • Stats by player
      • Statistics by campaign
      • FAQs
    • Log
      • Status log
      • Downloads log
      • Screens log
    • Roles
    • Reporting
      • Report Types
      • Project Templates
      • Filter
      • Permissions on Reports
      • Grouped campaign reports
      • Tutorial: Procedure to create and generate reports
      • FAQ
  • Advertising
    • Campaigns
    • Calendar
    • Ocuppation
  • Additional Information
    • Network requirements
  • Admira Suite
    • Admira Helpdesk
Powered by GitBook
On this page

Was this helpful?

  1. CONTENTS
  2. HTML content

Basic HTML structure for template

The fastcontent HTML is distributed in the following sections:

### HEAD

Global para todos los Fastcontent.

<style>
/* FASTCONTENT GLOBALS */

body { 
    margin: 0 0 0 0; 
    font-family: sans-serif;
}

#chrome_flags{ 
    background-color: #c33e3e; 
    width: 100%; 
    height: 100%; 
    text-align: center; 
    font-size: 1vw;
}

#chrome_flasgs_inner{ 
    padding: 20px; 
    background-color: #AAAAAA;
    margin-left: 20%; 
    width: 60%; 
    text-align: left; 
    font-size: 1vw;
}

#chrome_info{ 
    background-color: #228a33db;
    width: 100%; 
    height: 100%; 
    text-align: center; 
    font-size: 1vw;
}

.image{
    width:100%;
    height: 100%;
}

.video{
    width:100%;
    height: 100%;
    object-fit: fill
}

.shape{
    width:100%;
    height: 100%;
}

</style>
### FASTCONTENT UNIVERSAL SCRIPT

Este script se debe copiar del repo proporcionado anteriormente.

<!-- SCRIPT UNIVERSAL GENERICO DE FASTCONTENT HTML5 - INCLUYE API CONTENT & JQUERY -->

<script>
    …… (añadir aquí el código del repo)

</script>>
### PERSONALIZACION DE FASTCONTENT

<!-- SCRIPT ESPECIFICO PARA ESTE CONTENIDO -->

<script>
    …… (añadir aquí el código específico para el fastcontent)

</script>
### PERSONALIZACION EVENTOS EN RELACION A PLAYER

<!-- SCRIPTS ADICIONAL PARA EJECUTAR EN EL MOMENTO DE RENDERIZADO (PLAY) DEL CONTENIDO -->

<!-- el evento onRender se disparará cuando el player haga play del contenido -->

<script>

function onRender(slide_index){
    console.log("Fastcontent is rendering slide : "+slide_index);
    ...(añadir aquí el código necesario para ser ejecutado cuando el player dispara el contenido)
}

</script>
### BODY

Crear las variables necesarias y correctamente seteadas que serán reflejadas en el XML.

<div id="background" class=""> </div>
<div id="producto" class="text"> </div>
<div id="imagen"> </div>
<div id="precio" class="text" style="opacity: 0;"> </div>
<div id="descripcion" class="text"> </div>
<div id="promo"> </div>
PreviousFile nomenclatureNextURL contents

Last updated 2 years ago

Was this helpful?