mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00

- Removed dependency on Orchard.Taxonomies - Removed dependency on Orchard.Media You will need to remove the Orchard_MediaLibrary tables and also the Data Migration record corresponding to this module if you want to upgrade from 1.x. You can also apply the database changes by hand, remove all the records then use the Upgrade module to import all media. --HG-- branch : 1.x extra : rebase_source : 46100428d9546c3082bf65ce85d8d891543dc0a9
9 lines
264 B
Plaintext
9 lines
264 B
Plaintext
@using Orchard.ContentManagement
|
|
@using Orchard.MediaLibrary.Models
|
|
@{
|
|
AudioPart audioPart = Model.ContentPart;
|
|
var mediaPart = ((ContentItem)Model.ContentItem).As<MediaPart>();
|
|
}
|
|
|
|
<audio width="100%" src="@mediaPart.MediaUrl" controls></audio>
|