After you add your files in Ray Flash Player, click Build Player. The app writes a folder you can copy to a website, a shared drive, or a USB drive. Other people open one page in that folder to watch the files. They do not need the Adobe Flash Player plugin.
Product page: Ray Flash Player. Related: play SWF and FLV. For Flash-to-MP4 conversion, use SWF to Video.
Build the package in the app
Step 1. Open Ray Flash Player and stay on the Media tab. Click Add Files, or drag files onto the list, to add SWF, FLV/F4V, or supported video. There is no separate reorder command. Files play in list order, so add them in the order you want, and use Remove if you need to replace a row.
Step 2. Open the Appearance tab to set how the built player looks. Choose a skin (Modern, Minimal, or Classic), the Player size (100% fills the window; Custom uses a fixed width and height), then Accent, Volume, Autoplay, and Loop list. Under Buttons, turn on only the controls you want: Control bar, Hide bar while playing, Playlist, File, URL, Repeat one, and Repeat list.
Step 3. Open the Advance tab if you want optional Watermark text, and set its position, font, size, color, and bold. You can also add a simple Ad (None, Image, MP4 / WebM, or SWF) and choose when it starts and how long it lasts. On a trial copy, built players keep a rayexa.com mark; your own watermark can still appear with it. The hint under Preview says this: on a trial copy, “A trial build shows rayexa.com on the player.” On a licensed copy, “Licensed. The built player does not show that mark.”
Step 4. Check the Folder path in the bar at the bottom of the window.
Click Browse..., or File → Output Folder..., if you want a different location.
The default is often a RayFlashPlayer_Output folder under Videos.
Then click Build Player on the tab bar, or Produce → Build Player.
The status bar shows Building the player..., then Player saved or Saved to the folder path.
Click Open Folder, or File → Open Output Folder, to see the result.
How the generated player is arranged
After a build, open the output folder. Leave everything in this folder together. This is the usual layout:
player.html— this is the player page. Open it in a current browser such as Edge, Chrome, or Firefox.media— copies of the files you added, such as your SWF and FLV files.runtime— the files the player needs so it can work without the Adobe Flash Player plugin. Do not delete this folder or move it away from the player page.- The other files in the same folder belong to the player. Leave them where they are, and do not rename them.
If you move only player.html and leave the other files behind, the player will not find them unless you change the paths in player.html, as shown below.
How to use the player
On this PC. Open the output folder and double-click player.html, or open that file from your browser.
If the page does not play when you open it as a local file, copy the folder to a website and open it from there instead.
On a website. Upload the entire output folder (you can zip it, then extract it on the server).
Give people the address of player.html. They can watch the files in a current browser without installing the Adobe Flash Player plugin.
On a USB drive or a shared folder. Copy the whole folder. The other person opens player.html the same way.
If you already have a website page and only want to show the player there, the simple way is to link to player.html, or place it in the page with an iframe. Keep the rest of the folder with that page, or change the paths as shown below.
How to change paths in player.html
If you keep the whole folder together, you do not need to edit any paths.
Open player.html in a text editor only when you move the player page, the runtime folder, the media folder, or the other player files so they are no longer next to each other.
The paths are written relative to player.html. After you change them, open the page and confirm the files still play.
The stylesheet and the player script look like this:
<link rel="stylesheet" href="./rayplayer.css" />
<script src="./rayplayer.js"></script>
If you move those two files, change both paths so they still point to the files.
The runtime folder is set on this line:
var RAYEXA_RUNTIME = "./runtime/";
If you move the runtime folder, change this path so it still points to that folder, and keep the slash at the end.
You do not need to edit the script lines just below it; they use this value.
Each media file is listed in the RayPlayer.create section, in the url field, for example:
"url":"media/your-file.swf"
The part after media/ is the file name the app copied into the media folder.
If you move that folder or a file inside it, change each url so it still points to the file.
Example: you place player.html in a site folder, and you put the rest of the build (the player files, runtime, and media) in a subfolder named player. The paths would then look like this:
<link rel="stylesheet" href="./player/rayplayer.css" />
<script src="./player/rayplayer.js"></script>
var RAYEXA_RUNTIME = "./player/runtime/";
"url":"player/media/your-file.swf"
Before you share it
- Open
player.htmlfrom the finished folder and confirm the files play. - Confirm the
runtimeandmediafolders are still next to the player page, along with the other player files. - If you do not want the rayexa.com mark, license the app (Help → License, or the license badge), then build again.
FAQ
Do viewers need the Adobe Flash Player plugin?
No. The folder includes a runtime, so a current browser can open the player page without Adobe Flash Player.
Why do I still see rayexa.com on the player?
Trial builds always include that mark. Activate a Pro license in the app (Help → License, or the license badge), then build again.
Can I upload only player.html?
Not unless you also change the paths in player.html so they still find the player files, the runtime folder, and the media folder. If you do not want to edit paths, upload the whole folder together.
Is this the same as converting SWF to MP4?
No. This player lets people watch the files in a browser. For a regular MP4 file, use
SWF to Video.
Where is the output saved?
In the folder shown in the Folder bar. Use Open Folder after you click Build Player.