<amp-o2-player {{ with .pid }}data-pid="{{ . }}"{{ end }}
               {{ with .bcid }}data-bcid="{{ . }}"{{ end }}
               {{ with .vid }}data-vid="{{ . }}"{{ end }}
               {{ with .bid }}data-bid="{{ . }}"{{ end }}
               {{ with .macros }}data-macros="{{ . }}"{{ end }}
               {{ with .layout }}layout="{{ . }}"{{ end }}
               {{ with .width }}width="{{ . }}"{{ end }}
               {{ with .height }}height="{{ . }}"{{ end }}>
</amp-o2-player>