Deleted an object but it still exports and uploads!
The Title says it all.... Deleted an object but it still exports and uploads!
I placed (drag and drop) an MP4 video onto a web page. Then, realising the size of the file was huge deleted it. I then did what I should have done in the first place and uploaded the file to Vimeo and downloaded the embedded script into a place holder and all is well.
However, when I "export website" to my upload folder and look at the contents of the index_htm_files folder there it is - the MP4 file! I again delete it and upload and all's good. However, one day I'm going to forget to check and upload this huge file to my host server.
How come that I deleted it (right click selected and hit the delete button on my keyboard) and it definately disapeared, and yet still gets exported along with the website ?
In case you are wondering, I use FiLeZilla to upload because the website upload facility on Xara packed up ages ago (the infamous 'time out' issue) and I couldn't fix it so gave up.
I would be grateful if someone can point me in the direction of tracking down the whereabouts of this 'deleted' MP4 file so I can be rid of it permanently.
regards to all..
Joned
Re: Deleted an object but it still exports and uploads!
In the same folder as your .xar file you will find a folder with the same name, but an added '_xar_files'. Open this folder and delete the redundant file.
Searching _xar_file will find the folder(s) if you don't know where your project files are saved.
Re: Deleted an object but it still exports and uploads!
Joned, pretend you named your design file Fred.xar.
External assets will have been saved in an adjacent asset folder named Fred_xar_files/.
Open this and delete the mp4 in this.
There are other things there too, which probably are connected around the video player controls.
Delete these too if you are confident.
The Bitmap gallery probably has some placeholder images that will disappear if you close and re-open the XDA.
Acorn
Re: Deleted an object but it still exports and uploads!
Quote:
Originally Posted by
Chris M
In the same folder as your .xar file you will find a folder with the same name, but an added '_xar_files'. Open this folder and delete the redundant file.
Searching _xar_file will find the folder(s) if you don't know where your project files are saved.
Snap!
Changing crews with an overlap.
Acorn
Re: Deleted an object but it still exports and uploads!
From Cornflakes and coffee to Hobnobs and Ovaltine. The answer that spanned the World.
Re: Deleted an object but it still exports and uploads!
Quote:
Originally Posted by
Joned
How come that I deleted it (right click selected and hit the delete button on my keyboard) and it definately disapeared, and yet still gets exported along with the website ?
The Help link is https://helpandsupport.xara.com/xara...t_folders.html.
It doesn't really explain that embedding an MP4 the Xara way adds a load of guff that you didn't really need in the first place.
All the following can be deleted in\Fred_xar_files\ to remove the detritus:
- mejs-skins.css
- skipback.png
- loading.gif
- jumpforward.png
- flashmediaelement.swf
- controls.svg
- controls.png
- controls-wmp-bg.png
- bigplay.svg
- bigplay.png
- background.png
- <Your Video>.mp4
The trick is to never drag a MP4 or MP3 onto the design page in the first case. instead, browsers can directly use the HTML5 <video> Tag.
METHOD ONE
Use this when you do wish to embed a video:
- Create a box the size of your video.
- Press Shift+Ctrl+Alt+A and navigate to where you have the MP4 and select it.
- Open the box Placeholder Body and add the following code:
- <video src="index_htm_files/<Your Video>.mp4" controls width="100%" height="100%"/>
- Change <Your Video> to your actual MP4 filename.
All done!
No external assets folder. No detritus.
Delete the video?
- Press Shift+Ctrl+Alt+D to detach/delete the video.
Delete the video?
- Press Shift+Ctrl+Alt+D to detach/delete the video.
- Press Shift+Ctrl+Alt+A to attach the new one.
- Change the Placeholder Body code.
METHOD TWO
The better method is to save your design file and manually create its assets folder directly in Windows Explorer.
Anything you now put into this folder gets published.
To use the SVG, MP3 or MP4 or what ever, use a Placeholder and the right HTML Tag (<img>, <audio>, <video>) as above to include into your design.
Total control.
Acorn