How to load Flash in HTML (2 implementation methods)

How to load Flash in HTML (2 implementation methods)
First method :
CSS code:

Copy code
The code is as follows:

.b970-a{width:970px; height:103px; margin:4px auto; overflow:hidden;}
HTML code:
<div class="b970-a"> <
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="970" height="107">
<param name="movie" value="images/flash_ad-3-26.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="images/flash_ad-3-26.swf" width="970" height="107" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>

The second method has good compatibility :
CSS code:

Copy code
The code is as follows:

.b970-a{width:970px; height:103px; margin:5px auto; z-index:2; overflow:hidden;}
HTML code:
<object width="970" height="103"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="images/flash_ad-3-26.swf" name="movie">
<param value="high" name="quality">
<param value="transparent" name="wmode">
<param value="exactfit" name="SCALE">
<embed width="970" height="103" wmode="transparent" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
quality="high" src="images/flash_ad-3-26.swf">
</object>

<<:  Analysis of the reasons why Vue3 uses Proxy to implement data monitoring

>>:  Example code for implementing 3D Rubik's Cube with CSS

Recommend

Complete example of Vue encapsulating the global toast component

Table of contents Preface 1. With vue-cli 1. Defi...

Detailed example of creating and deleting tables in MySQL

The table creation command requires: The name of...

MySQL 5.7.17 latest installation tutorial with pictures and text

mysql-5.7.17-winx64 is the latest version of MySQ...

How to completely delete and uninstall MySQL in Windows 10

Preface This article introduces a tutorial on how...

Vue implements the full selection function

This article example shares the specific code of ...

Semantics: Is Html/Xhtml really standards-compliant?

<br />Original text: http://jorux.com/archiv...

About the overlap of margin value and vertical margin in CSS

Margin of parallel boxes (overlap of double margi...

MySQL 8.0.15 installation and configuration graphic tutorial

This article records the installation and configu...

Detailed tutorial on uploading and configuring jdk and tomcat on linux

Preparation 1. Start the virtual machine 2. git t...

Implementing a simple Gobang game with native JavaScript

This article shares the specific code for impleme...

Example code for implementing verification code login in SMS API in Node

1. Node server setup + database connection The op...

A tutorial on how to install, use, and automatically compile TypeScript

1. Introduction to TypeScript The previous articl...

mysql trigger creation and usage examples

Table of contents What is a trigger Create a trig...

How to install MySQL 8.0 and log in to MySQL on MacOS

Follow the official tutorial, download the instal...